angularjs - Getting error with angular -


i'm doing rails 5 application. have simple code showing sign-in page.

var app = angular.module('app', ['ui.router']).config([     '$stateprovider',     '$urlrouterprovider',     function($stateprovider, $urlrouterprovider) {       $stateprovider         .state('sign_in', {           url: '/sign_in',           templateurl: '/angular_views/sign_in.html',           controller: 'signincontroller'         })        $urlrouterprovider.otherwise('sign_in');   }]) 

i'm getting error logs in browser.

error: transition superseded error: transition prevented error: transition aborted 

this angular-ui-router version

*** local gems ***  angular-ui-router-rails (0.2.15) 

it seems latest version available:

$ gem update angular-ui-router-rails updating installed gems nothing update 

please how fix it.

i think problem angular-ui-router version.upgrade ui-router , give try


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -