https://discord.umbraco.com logo
#package-development
Title
# package-development
n

Nik

09/26/2022, 11:42 AM
Copy code
js
function directoriesLookup($scope, $q, $http) {
   var vm = this;
   function init(){
     vm.property = resultOfSomething();
   }
   init();
}
But when I get to the
vm.property
line it says vm is undefined after all the bundling.