Dark mode beta

You’ve been asking for dark mode for years.
The dark mode beta is finally here.

Change your preferences any time.

All Questions

Filter by
Sorted by
Tagged with
9
votes
3answers
9k views

Using AngularJS and jsPlumb (use jsPlumb functions in AngularJS controller)

So I have a project that I am working on and it requires that I use jsPlumb for graphical elements connections and I am building my app entirely using AngularJS. What is the procedure to follow if I ...
4
votes
4answers
34k views

How to retrieve the value from textbox using AngularJs?

$scope.add=function() { //How to retrieve the value of textbox } <input type='text'><button ng-click='add()'></button> When I ...
2
votes
1answer
7k views

Function in AngularJS controller not being called

I am trying to call a function from my AngularJS controller with the following code: Controller Code (function () { var hello = angular.module("helloApp", []); hello.controller("HelloCtrl",...
1
vote
1answer
171 views

AngularJS ng-click function not reached

When I'm adding new product to a product list its not working. So the products get loaded well but the ng-click function does not getting called. (The alert I put in the addProduct function is not ...
1
vote
3answers
408 views

Ng-Click not firing

whenever I click my submit button nothing happens, currently all I want it to do is print out the username and password to test there bindings. And I am able to talk to the controller and print out ...
1
vote
3answers
2k views

Show a div with AngularJS

I am searching how to show a div with AngularJS. I read some topic on StackOverflow but when I try to apply them, it doesn't works for my case... This is my HTML code : <div id="myPanel" ng-...
0
votes
2answers
2k views

Issues indirectly updating ngModel from ngClick

I have an ngRepeat that populates a list of customers, shown here : <div ng-repeat="terr in terrData.data"> <div class="customer-row" ng-click="clickCustomerSelect(terr)"> &...
0
votes
1answer
255 views

ng-repeat, ng-click, directive, and controller interaction

I have this directive snippet: return { scope: {}, restrict: 'E', templateUrl: 'partials/order_table.html', controller: 'OrderController as x', link : function(...
0
votes
1answer
318 views

How to Change Post Variable Value in a AngularJS Controller?

I'm having two buttons, each button has ng-click event, the click event calls one method, the method has one argument. I wish to pass the value of the argument to the Service Side via HTTP POST from ...
0
votes
1answer
3k views

How to Pass Scope Variable in ng-click and how to access the Parameter in angularJS Function within Controller

How to Pass Scope Variable in ng-click and how to access the Parameter in angularJS Function within Controller ? My Source Code is <!DOCTYPE html> <html> <script src="http://ajax....
0
votes
0answers
172 views

Detect Forward and Backward Routes througth a Button - AngularJS

Plenty of folks have asked how to detect back button clicks/gestures in AngularJS but that is really only half of the equation. In order to use ngAnimate transitions, specifically a slide left on ...
-1
votes
1answer
2k views

Linking one controller to another to call service on ng-click

I have two templates with respective controllers and service files. One template's(fleetListTemplate) controller(fleetListController) loads data from its service file(fleetService) and displays in ...