All Questions
Tagged with angular-controller angular-template
6 questions
0
votes
3
answers
567
views
What is the accepted way to handle getting Angular Form Control values into the template?
The Problem
In Angular when you call a function such as a public get value() { ... } in a template any time the template is re-rendered the function will be called again leading to many different ...
0
votes
2
answers
316
views
How to use an AngularjS View (.html file) without using it's tags
Inside a big AngularJS application I have a new HTML template file and a controller for it, and I'd like to build a layout the designer gave me using this temporary view, since I'd like to be able to ...
0
votes
1
answer
116
views
I want to dynamically write messages into a div in my template. How can I do that?
I receive messages from a server and I want to write them into a div. I am having an absurd amount of trouble figuring out how to append strings onto the content of a div. How do I do that in my ...
0
votes
3
answers
305
views
Ionic - AngularJS: calling methods via template outside of Controller
So, here's a sample code:
<div ng-controller="MyControllerOne">
<span ng-click="foobar()">Click Me!</span>
</div>
Can I, from that template, without changing controller, ...
0
votes
2
answers
76
views
AngularJS adding controller
I am building up a single page website using MEAN, I've tried multiple tutorials and googled a lot of examples but i cant seem to get it working.
i am using angular-routing for my templates, but when ...
1
vote
1
answer
479
views
AngularJS - how do you associate a controller by path after compiling the html?
Is it possible to dynamically associate a controller, after it has been compiled from a template?
//Controller /path/ctrl/MainCtrl.js
angular.module('app')
.controller('MainCtrl', function () {
...