Seems like a copy paste error. Try removing the semicolons after the when(..) function calls in app.js.
BR Erik http://www.malmostartupstudio.com/ On Sat, Aug 2, 2014 at 5:45 PM, Tina Johnson <[email protected]> wrote: > Hello All, > > I'm trying to create an app. And in this app, routing isn't quite working > for me. As you can see in the file > <https://github.com/tinajohnson/ZBrowser/blob/master/zac/js/app.js>, the > controller for television.html is televisionController > <https://github.com/tinajohnson/ZBrowser/blob/master/zac/js/controllers/televisionCtrl.js>. > I tried console logging to see if the controller is called. But it doesn't > seem to work. It does route to television.html (the url changes). I use > firefox browser. Anyone has any idea of what is going wrong? > P.S: The code can be found here > <https://github.com/tinajohnson/ZBrowser/tree/master/zac> > > Thanks! > > -- > 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. > -- 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.
