i am using meteor with angular and using angular ui-router i have an error in my console
" Failed to parse SourceMap " some one can help me please my code is there
(app.js)
angular.module('forum', ['angular-meteor', 'ui.router'])
.config(function($urlRouterProvider, $stateProvider){
// Set the default route
$urlRouterProvider
.when('/', '/topics')
.otherwise('/topics');
// Add states
$stateProvider.state('topic', {
url: '/topic/:topicId',
templateUrl: 'views/pages/topic.html',
controller: 'TopicContoller'
});
})
.run(function($state){
// We inject $state here to initialize ui.router
})
.controller('TopicContoller', function($scope, $stateParams){
$scope.subscribe('topic', function(){ return [$stateParams.topicId]; });
$scope.helpers({
topic: function() {
return Topics.find({_id: $stateParams.topicId});
}
});
})
topics.html
<div class="page">
<h1>{{ topic.name }}</h1>
</div>