AngularJS controllers and bindings added. Basic localStorage functions