Notice: The Monaca & Onsen UI Community Forum is shutting down.

For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.

Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.

can't use angular with input

  • Hello, i used angular with onsen-input and it works perfectly; however, when i change from <ons-input> to normal tag <input> it seems like the ng-model didn’t bind the value at all. any solution?

    <ons-page ng-controller="RegisterController" id="register.html">
            <div class="center">Sign Up</div>
            <div class="left">
     <div class="login-form"> 
            <input id="username" type="text" class="text-input--underbar" modifier="underbar" placeholder="Username" float ng-model="page.username">
            <input id="email" type="email" class="text-input--underbar" modifier="underbar" placeholder="Email" float ng-model="">
            <input id="password" type="password" class="text-input--underbar" modifier="underbar" type="password" placeholder="Password" float ng-model="page.password"></input>
           <br /><br />
            <ons-button modifier="large" ng-click="page.register()">Register</ons-button>
    module.controller('RegisterController', function()
         this.register = function()
         var email =;
         var password = this.password;
         var username = this.username;

  • You need <form>

    <form name="formprueba" model="formData" >
    	<input type="text" class="text-input" ng-model="formData['username']" name ='username' />