▲ Opinionated AngularJS styleguide for teams at toddmotto.com▼7 up and 0 down, posted by vuzer84 3757 days ago 1 comment
pablojim 3757 days ago. link 1 point ▲ ▼Is it just me or is the resolve example a bit weird. Setting the result of the promise as an instance property on the service seems wrong. What if there are multiple calls with different arguments to the service method from different controllers? There are more standard approaches here: http://stackoverflow.com/questions/11972026/delaying-angularjs-route-change-until-model-loaded-to-prevent-flicker