How to change value of element without binding in angularjs?

What's the best way to do something like this in AngularJS without data binding?

document.getElementById('divid').value = 'Change Text to This';

I know I can achieve it with {{value}} but I have default values for SEO purpose and hence I need to change it without binding, for example,

<div id="divid">Default text</div>



you can do data binding for this {{}} also you can use ng-bind.

In angular you can fetch an element using angular.element()

In your case, Try

var ele = angular.element('#wrapper');

For this to work you need to inject $compile.

You can use translate function:

<div id="divid">{{ _("Default text") }}</div>


$.scope._ = function(text) {
    return 'Change Text to This';

Need Your Help

Python 2.5 change list and tuple

list tuples python-2.5

The first part of the code works which I believe is changing the list loading into loafing. But the second part of the code which I was given to turn the tuple, loading into loafing does not.

Deploying spring app in Tomcat with Mongodb running in Micro cloud foundry

spring mongodb cloudfoundry

I am getting the following exception when trying to connect Micro cloud foundry Mongodb server