Upgraded ui-bootstrap to 0.4.0
Fixed the script to return error on failure
Changed the alert function to a service.  Added alert support to the list view. Added service to cache all the template on app startup.