Edit in JSFiddle

<div ng-app>
    <input type="text" ng-model="msg" ng-init="msg='test'" />
    <p>msg : {{ msg }}</p>    
</div>