Angularjs get value from ng-model directive example