pointer to array of integers

Furthermore:

AngularJS – how to dynamically add HTML and bind to controller

reference: http://stackoverflow.com/questions/19845950/angularjs-how-to-dynamically-add-html-and-bind-to-controller

index.html:

app.js:

Bind Angular JS to newly created html dynamically using Directive

Example 1

index.html:

app.js:

template.html:

Example 2

index.html:

app.js:

template.html:

text.htm: