Adding controller for angular routes and templates