how to use smart table angularjs