I'm working on html and angular js for test project to learn angular js.
I've developed one custom input control for masking in html (http://teena.aaadev.info/platform/controls/textbox.html), it's working perfectly. Now I want to use that control in another html page, something like this way:
<div my-control="textbox"></div>
OR
<div my-control="textbox.html"></div>
Once the above code run or viewed in web browser, it'll automatically load the textbox control in that div which inherits all the functionalities of that control. This is the basic thing I need. Afterwards I'm planning for passing the attributes or options for that controls to pick up right format of control.
I've used the following code but it's not working and showing a blank page:
<div ng-include="'text.html'"></div>
I heard about Routing & Multiple Views (https://docs.angularjs.org/tutorial/step_07), is this helpful to achieve my requirements??
Thanks!