Note pad app using AngularJS