add bower.json and some test file for directive