working base angularjs