Ng-model in HTML is not getting accessed in js


I have following input text field

<!input type=“text” ng-model=“textValue”>

In the js file I am not able to access text filed value with $scope.textValue.

Is something I am missing here? please help.


Do you mind throwing together a codepen to help Illustrate the problem? Its a bit hard to figure out the issue with just a line of code :smile: