extended $FoundationState.registerDynamicRoutes to use controllerAs syntax

also, tweaked `DefaultController` and `NavController`
awesome! Thanks for adding this. i'll have to check the rest of the code base for other instances of foreach loops that could be simplified in this manner.