initialize the angularjs settings