http://angular.github.io/router/

Angular New Router

 

Guide

API

  • routerViewPort - A routerViewPort is where resolved content goes.
  • routerLink - Lets you link to different parts of the app, and automatically generates hrefs.
  • $componentLoaderProvider - This lets you configure conventions for what controllers are named and where to load templates from.

 

  • Router - The router is responsible for mapping URLs to components.
posted @ 2015-03-27 15:26  风轻如梦  阅读(249)  评论(0编辑  收藏  举报