initialize for bower and angular