javascript - Angularjs page not loadingon IE11 with routing and JSON -


i have issue angular , internet explorer (it's working on chrome , safari) making blog different article json data, , when click on article, new page loading details of article single json data. have followed angular tuotial https://docs.angularjs.org/tutorial/step_07

code of blog page:

 <li ng-repeat="article in articles.articles">        {{article.titre}}                 <a href="blog/{{article.id}}"> go </a>  </li> 

code of <div ng-bind-html="articleblog"></div>

and javascript (controller):

monitorcontrollers.controller('detailctrl', ['$scope', '$routeparams', '$http', '$sce',     function($scope, $routeparams, $http, $sce) {          $http.get('data/'+$routeparams.articleid+'.json').success(function(data){             console.log(data);             $scope.articleblog= data.texte;         })     }]); 

and routing

.when('/blog/:articleid', {             templateurl: 'views/article.html',             controller: 'detailctrl' 


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -