Open
Description
The following problem is definitely not a problem with the gem as we have this running correctly on our staging and other development servers. Please feel free to close it immediately if you don't have any ideas as to what it may be as it's definitely an issue with my development machine. On the off-chance that you do though I wanted to just float it.
For some reason, on my local machine, rails-templates is not wrapping the normal javascript around the templates themselves. Instead of compiling into something like:
// Angular Rails Template
// source: app/assets/javascripts/copyin/directives/fast_reply/fast_reply_template.html.haml
angular.module("templates").run(["$templateCache", function($templateCache) {
$templateCache.put("copyin/directives/fast_reply/fast_reply_template.html", "<a class='{{fastReplyType}}' data-original-title='{{actionTooltip}}' href='' ng-class='{active: fastReplyIdForCurrentUser}' ng-click='toggleAction()' tooltip='tooltip'>\n {{actionName}}\n <span ng-if='fastReplyUsersFullNames.length > 0'>\n ({{fastReplyUsersFullNames.length}})\n </span>\n</a>")
}]);
The templates are simply compiling to:
<a class='{{fastReplyType}}' data-original-title='{{actionTooltip}}' href='' ng-class='{active: fastReplyIdForCurrentUser}' ng-click='toggleAction()' tooltip='tooltip'>
{{actionName}}
<span ng-if='fastReplyUsersFullNames.length > 0'>
({{fastReplyUsersFullNames.length}})
</span>
</a>
;
Have you ever seen this before? Do you have any immediately have any thoughts as to what config setting could be causing this? If not don't sweat it but I thought it was worth asking
Thank you.