Open sidebar
THERE ARE NO CONSOLE ERRORS! This is in the controller (the correct id DID alert) and the browser does load the correct page: ------------------------------------------------------------ //alert($scope.feeder.loantypes[l].id); $scope.loan = LoansFactory.createLoan($scope.feeder.loantypes[l].id); $state.go('new.farmer'); =========================================================== This is in LoansFactory: ----------------------------------------------------------- function createLoan(type){ var deferred = $q.defer(); var obj = { type: type, yomama: 'Jill' }; return obj; } =========================================================== On the view, I have "<pre>{{loan | json}}</pre>" and it is empty. Am I missing something??
Close sidebar
Back
Please note that all pasted data is publicly available.
X (fomerly Twitter)
GitHub
Use setting
Back
Please note that all pasted data is publicly available.
X (fomerly Twitter)
GitHub
Use setting