implement unittest for $digest
abstract gridModal to encapsulate table directive
concat vendor js to reduce network request