Updated to angularjs rc 3