AngularJS sample by dotinstall