Having the exact same problem (same exception) with plain JavaScript and router 3.0.0-beta.1. Venkata: any luck finding a solution?
On Monday, July 25, 2016 at 7:31:09 AM UTC-6, Venkata Chakradhar wrote: > > Angular2 for plain javascript / es5 has been difficult for users to > understand routing and navigation concept. Style sheet shows deprecated > router https://angular.io/docs/js/latest/guide/cheatsheet.html , where as > typescript code for routing shows RouterConfig which is imported from > '@angular/router' but in angular2 libraries for plain javascript has > neither RouteConfig nor RouterConfig . when I used either > ng.router.RouteConfig or ng.router.RouterConfig result is undefined . When > I go further by Simple Configuration with [{ path:"value", > component:type/string }] I get observable errors thrown from zone.js and > EXCEPTION: Error: Uncaught (in promise): TypeError: Cannot read property > 'of' of undefined from platform-browser.umd.js. If anyone knows routing and > navigation in plain javascript / es5 please post your code. > -- 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 angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.