Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

SOLVED: Error on heroku deployment in Rails + Angular. ui-router


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.


//= require jquery
//= require jquery_ujs
//= require angular/angular
//= require angular-ui-router/release/angular-ui-router

//= require bootstrap
//= require_self
//= require_tree .

.module('maphack', ['ui.router'])
.config(function ($stateProvider, $urlRouterProvider, $locationProvider) {
.state('home', {
url: '/',
component: 'homePage'

// default fall back route

// enable HTML5 Mode for SEO
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

Posted in S.E.F
via StackOverflow & StackExchange Atomic Web Robots
This Question have been answered

This post first appeared on Stack Solved, please read the originial post: here

Share the post

SOLVED: Error on heroku deployment in Rails + Angular. ui-router


Subscribe to Stack Solved

Get updates delivered right to your inbox!

Thank you for your subscription