initial setup [angularJS]