Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

misc functions

  • Loading branch information...
commit 6ee2208f2e088f0132b3df2414d883972c930ce7 1 parent ad7876e
@ludicast authored
View
2  lib/angular-rails/version.rb
@@ -1,3 +1,3 @@
module AngularRails
- VERSION = "0.0.7"
+ VERSION = "0.0.8"
end
View
4 vendor/assets/javascripts/angular-helpers.coffee
@@ -53,7 +53,9 @@ class @AngularModel
if obj instanceof AngularModel
obj.initialize()
-@autowrap =(clazz)->
+@autowrap = (clazz, callback)->
(result)->
result.__proto__ = new clazz()
result.initialize()
+ if callback
+ callback(result)
Please sign in to comment.
Something went wrong with that request. Please try again.