SWKING:
Rails backend. Angular frontend. Using angular-ui-router. On the local, it works fine. But when it is deployed on heroku, it gives this Error. All dependencies seem to be downloaded properly. I need help seeing what this error indicates.
application.js:
//= require jquery
//= require jquery_ujs
//= require angular/angular
//= require angular-ui-router/release/angular-ui-router
//= require bootstrap
//= require_self
//= require_tree .
angular
.module('maphack', ['ui.router'])
.config(function ($stateProvider, $urlRouterProvider, $locationProvider) {
$stateProvider
.state('home', {
url: '/',
component: 'homePage'
})
// default fall back route
$urlRouterProvider.otherwise('/');
// enable HTML5 Mode for SEO
$locationProvider.html5Mode({
enabled: true,
requireBase: false
});
});
Error Message on Console:
application-118d41a….js:4 Uncaught Error: [$injector:modulerr] Failed to
instantiate module XXXXX due to:
Error: [$injector:unpr] Unknown provider: t
http://ift.tt/2rpY3Pa
Posted in S.E.F
via StackOverflow & StackExchange Atomic Web Robots
This Question have been answered
HERE