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 wrote: > > Hi everyone. > > I have an issue. When i load the page on android 2.3 it says "Bad > argument, MyCtrl not a function, got undefined". And it only one page > issue. But on another android versions and on desktop everything works just > fine. There are no any errors or warnings. But not on android 2.3 > > Any suggestions guys?;) > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
