add bindings to angularjs