I am trying to accesss into a rendered element from AngularJs. Basically I would like to do something like this:
app.js
(function() {
var app = angular.module('project', []);
**var data = '${renderedElement}';**
app.controller('ProjectController', function(){
.....
});
})();
If I put this code directly into the html it works... but I would like to put it into a proper app.js.
Does someone have an idea??Thanks!