Changed ngRoute to ui-router for angular template.