$location.path doesn't change in a factory with AngularJS

后端 未结 4 2014
感动是毒
感动是毒 2020-12-11 06:43

My factory looks like:

\'use strict\';

angular.module(\'myApp\')
  .factory(\'httpInterceptor\',[\'$q\',\'$location\', \'$rootScope\', function($q, $locatio         


        
4条回答
提交回复
热议问题