-1
votes
1answer
20 views

Using jade in angularjs, on include loosing the scope

I am using node with sails as my server. My problem is when I am trying to include a jade file using include I am not able to access the scope. Please go through the below code ...
0
votes
0answers
24 views

Angular Template does not call the <script>. Anyway around?

I want to call different script based on different template. It will be heavy to load all of the script in the index page. However, Angular Template does not execute tag. How should I go about ...
0
votes
3answers
33 views

How to escape an angular scope variable in a kiwi template

I have a scope variable (myVar) which is defined in MyController: angular.module('myApp.controllers').controller('MyController', ['$scope', function($scope) { $scope.myVar = 'whatsoever'; }]); ...
0
votes
2answers
59 views

$scope.$watch doesn't fire when I update from a directive

I have the following code snippets: HTML: <div data-filedrop data-ng-model="file"></div> Controller: $scope.$watch('file', function(newVal) { if (newVal) { ...
0
votes
0answers
19 views

Angular and socket.io in scopes and outside at same time

I am having 3 scopes: Chat Alert_Popups View's (dynamically changed to fit user's needs. 4 at this moment and will be probably more) I also have node.js backend with socket.io in it. The client ...
0
votes
1answer
70 views

Multiple Image Upload in Angular JS

My form will have two file input fields and other fields.The user will be sleecting two different types of files and putting in some data. On submit button I want to send both the files along with the ...
0
votes
1answer
23 views

AngularJS change multiple partials per request

I am new in node.js and Angular and I am creating a web application. At the moment I have the following design of my application - the screen is separeted by three columns - the left one is my menu ...
0
votes
1answer
151 views

angularjs socket.io emit function

Hi I'm building a web app that updates the user via socket.io how many tasks users have created on the website. I'm using socket.emit on the node.js side that will send a message to the angularjs ...
4
votes
1answer
2k views

Angularjs socket.io service

Hi I'm building an angularjs service that will use websockets via socket.io to communicate with backend (node.js). I found a snippet of code online but I don't quite understand how it works. ...
0
votes
0answers
308 views

Angular.js, get value from $scope in controller

Hello I have a question about $scope value....I wanted to get from $scope.user user id in controller but I dont know how to manage that. code: angular.module('test') .controller('GroupCtrl', ...
0
votes
1answer
187 views

angular-phonecat application using Node.js error 404 Not Found: /app/index.html

I am running http://docs.angularjs.org/tutorial/step_00 on my windows machine It was working fine till yesterday. Today it is giving following error 404 Not Found: /app/index.html
0
votes
1answer
274 views

inline editing with angular, inherited scopes - submit a form to the server

I am doing a form with inline editing. I found an example here: http://stackoverflow.com/a/16739227/169252 which I adapted to my needs. Here's some of the code (using nodejs, express and jade). The ...
1
vote
1answer
248 views

Updating $scope after $HTTP.post

new at this. I have 2 div's; When I use one to post new value into the server, the post action works fine. How do ensure this post updates the scope in the other div? (to update the div with the new ...