| 
									
										
										
										
											2015-10-05 16:37:31 -07:00
										 |  |  | <!doctype html> | 
					
						
							|  |  |  | <html> | 
					
						
							|  |  |  | <head> | 
					
						
							|  |  |  |   <title>Routing canActivate Lifecycle Example</title> | 
					
						
							|  |  |  |   <base href="/"> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   <script src="http://cdnjs.cloudflare.com/ajax/libs/systemjs/0.18.4/system.js"></script> | 
					
						
							|  |  |  |   <script>System.config({ baseURL: '/', defaultJSExtensions: true});</script> | 
					
						
							|  |  |  |   <script src="/bundle/angular2.dev.js"></script> | 
					
						
							|  |  |  |   <script src="/bundle/router.dev.js"></script> | 
					
						
							|  |  |  | </head> | 
					
						
							|  |  |  | <body> | 
					
						
							|  |  |  | <example-app> | 
					
						
							|  |  |  |   Loading... | 
					
						
							|  |  |  | </example-app> | 
					
						
							|  |  |  | <script> | 
					
						
							| 
									
										
										
										
											2016-04-28 17:50:03 -07:00
										 |  |  |   var filename = '@angular/examples/router/ts/can_activate/can_activate_example'; | 
					
						
							| 
									
										
										
										
											2015-10-05 16:37:31 -07:00
										 |  |  |   System.import(filename).then(function(m) { | 
					
						
							|  |  |  |     m.main(); | 
					
						
							|  |  |  |   }, console.error.bind(console)); | 
					
						
							|  |  |  | </script> | 
					
						
							|  |  |  | </body> | 
					
						
							|  |  |  | </html> |