I am using AngularJS recently but have some problems with that I defined some scopes into like these
app.controller('mainController', function($scope) {
$scope.siteURL = "my website url";
});
and used this variable like {{siteURL}} in my html source code , But I see some errors in console because it does not change the source code and just compile it for browser . To avoid search engine errors Im looking for a way that can replace each scope with its value in SOURCE code before render in browser
I mean for some links and images like this I want Angular replace the value of scope in source not after compile HTML page :
<img src = '{{siteURL}}/img.jpg' />
to change
<img src = 'my website url/img.jpg' />