I'm currently working on an AngularJS project where user inputs from a drop down list and a text box on a page can be displayed on a new page. For instance, selecting option of Mr and entering a name which is then displayed on a new page as "You're Mr YourName." How can this be done? Any help?
1 Answer
<select ng-model="title">
<option>Mr</option>
<option>Ms</option>
</select>
<input type="text" ng-model="yourName">
You're {{title}} {{yourName}}
4 Comments
taiwoorogbangba
I want the You're {{title}} {{yourName}} displayed on a new webpage. Any help?
taiwoorogbangba
I don't want it to be the homepage of my project. I want it to be displayed on another webpage.
taiwoorogbangba
@BorcheIvanov, I added a comment yesterday I guess you didn't see it.
taiwoorogbangba
@Sa E, please, see the comment I added yesterday.