Learning Angular JS Routing with template