angular-templates 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ced34b78973a9aaf716af205080d8af3ad3dde31
|
4
|
+
data.tar.gz: 4cdaae5f61673db13f09482cf1a345333327ecac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 751c7f6de249a7104619c735da0c8a89650df3a7107819b507c748d71e6201720993b9cef6e0e857269720de8c098da548f0b9e5187c89f32bb41643b4f5c8c4
|
7
|
+
data.tar.gz: d520db9e1b004bf31d32940ca9c8ca4270ca6e68efa5f87223853e2fe95419d9bb297994a49854469ca5a7bf8b03dde5939af65ddee0cefc146a730b5c951ed9
|
@@ -1,4 +1,4 @@
|
|
1
|
-
angular.module("
|
1
|
+
angular.module("<%= Rails.application.config.angular_templates.module_name %>").run(["$templateCache", function($templateCache) {
|
2
2
|
<% AngularTemplates::TemplatingController.render_templates.each do |k,v| %>
|
3
3
|
$templateCache.put(<%= k.to_json %>, <%= v.to_json %>)
|
4
4
|
<% end %>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: angular-templates
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- tye
|
@@ -47,7 +47,7 @@ extra_rdoc_files: []
|
|
47
47
|
files:
|
48
48
|
- MIT-LICENSE
|
49
49
|
- Rakefile
|
50
|
-
- app/assets/javascripts/
|
50
|
+
- app/assets/javascripts/angular-templates.js.erb
|
51
51
|
- app/controllers/angular_templates/templating_controller.rb
|
52
52
|
- lib/angular/templates.rb
|
53
53
|
- lib/angular_templates.rb
|