[AngularJS] Re: Bad argument error on Android 2.3

2014-04-21 Thread Ivan Borushko
I just resolved this issue. The problem was in stateProvider, more precisely in parseStateRef directive which return null on android 2.3 if you write ui-sref=toState instead of ui-sref=toState(). So typing the parenthesis will fix it. On Friday, April 18, 2014 2:42:50 PM UTC+3, Ivan Borushko

[AngularJS] Re: Bad argument error on Android 2.3

2014-04-19 Thread Luke Kende
I've seen this before on other browsers (IE). For me, it meant a javascript resource is failing to load, or is generating an error that worked in other browsers. You need the equivalent of the developer console on that browser in Android to see what's happening if this is the case. I could

[AngularJS] Re: Bad argument error on Android 2.3

2014-04-18 Thread Ivan Borushko
File with controller is angular.module('myApp').controller('MyCtrl', function ($scope, $state, $location) { console.log(asd); } On Friday, April 18, 2014 2:42:50 PM UTC+3, Ivan Borushko wrote: Hi everyone. I have an issue. When i load the page on android 2.3 it says Bad argument,