Simple AngularJS extension with an example to facilitate route declaration