Category: async-await

Angular controller is initialized multiple times (more than expected): when called $state.go in a loop

I am defining route like this: angular.module(‘MyWebApp’).config(function ($stateProvider) { ‘use strict’; $stateProvider .state(‘home.product’, { url: ‘/details/:param1/:param2/:param3’, template: `<my-template style=”width:100%”></my-template>`, data:

Continue reading