Small code style update
Move example dependencies to bower and example js to app file