angularjs table working nicely