angular.js data binding done for settings and details page