learning the ionic framework/angular.js