creating angularjs controller and mapping with static data