[AngularJS] how to filter a combo box that is created by a Ng-Repeat based on the same combo box in the previous row in Angular js?

2016-05-24 Thread Sia Mak
I have a select element that is repeated by a ng-repeat directive when the "**Addbutton**" clicked . the object that fills the select element has a format like this : { id: 1, Title: 'AAA', priority: 1 }, I want when user selects an option from this combo box and clicks on the "* *Addbutt

[AngularJS] Re: Send event from parent to childs without template

2016-05-24 Thread Sander Elias
Hi Cedric, There are multiple solutions to your issue. The cleanest one is creating a small service that hosts one(or more) observable(s). There is actually a good sample about this in the docs

[AngularJS] Re: Error: [ng:areq] Argument 'PreviewController' is not a function, got undefined

2016-05-24 Thread Sander Elias
Hi Alekhya, 1. syntax errors, putting ... inside JS does not work 2. defining your controller in the global namespace isn't allowed for a long time already 3. "controller as vm" is not supported in version 1.0, you need a newer angular for that I updated your fiddle

[AngularJS] Re: Angular 2 Router

2016-05-24 Thread Sander Elias
Hi Rylan, The best that I could find is https://angular.io/docs/ts/latest/guide/router.html Regards Sander -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to angula

[AngularJS] Re: Official tutorial does not make sense.

2016-05-24 Thread Sander Elias
Hi Niklas, Apparently the tutorial is being updated to reflect the latest techniques and insights. There seem to be some oversights still in there. I'll see if I can figure out who is working on it. Regards Sander -- You received this message because you are subscribed to the Google Groups "

[AngularJS] Re: calling setBaseTestProviders results in NoAnnotationError

2016-05-24 Thread Shaddy Zeineddine
When I swallow the error, it seems to continue and work try { testing.setBaseTestProviders(providers.TEST_BROWSER_DYNAMIC_PLATFORM_PROVIDERS, providers.TEST_BROWSER_DYNAMIC_APPLICATION_PROVIDERS); } catch (err) { console.log(err); }

[AngularJS] calling setBaseTestProviders results in NoAnnotationError

2016-05-24 Thread Shaddy Zeineddine
doing this... // assume testing = ('@angular/core/testing') // assume providers = ('@angular/platform-browser-dynamic/testing') testing.setBaseTestProviders(providers.TEST_BROWSER_DYNAMIC_PLATFORM_PROVIDERS, providers.TEST_BROWSER_DYNAMIC_APPLICATION_PROVIDERS); causes this... Error: Cannot res

[AngularJS] ANGULAR IMAGE UPLOAD FORM TO AWS S3

2016-05-24 Thread David Heyduck
I have tried hacking away at this task for a day now looking all over the place for tutorials or code snippets/repos, but have been unsuccessful. The goal is to have an AngularJS Image Upload Form that uploads the images to an AWS S3 bucket, then returns a corresponding link to each photo. If an

[AngularJS] Send event from parent to childs without template

2016-05-24 Thread Cedric Cazin
Hi I got a parent component which has en @input isEnable, on the setter I want to inform all childs their @input isAnable to the same value. I don't want to use the template but I would like to do like angular js a kind of 'brodcast' to all childs is this possible ? regards -- You received

Re: [AngularJS] Re: $scope.$on function is not running

2016-05-24 Thread Imane Alfaqir
First thank you for your answer and I'm sorry to be late. This works onlu if I put $rootScope.$on inside function, but if I put it outside doesn't work I don't understand why. 2016-05-24 10:05 GMT+01:00 'Manish Pal' via AngularJS < angular@googlegroups.com>: > Not sure, what $scope.$root is...but

[AngularJS] Re: Error: [ng:areq] Argument 'PreviewController' is not a function, got undefined

2016-05-24 Thread ALEKHYA YANNAVARAPU
thanks a lot ur code helped .but why dis code was not working http://jsfiddle.net/wskta72o/... On Friday, October 9, 2015 at 8:00:13 PM UTC+5:30, Sander Elias wrote: > > Hi Vendant, > > Try this in your plunker: > > > > > https://ajax.googleapis.com/ajax/libs/angularjs/1.4.5/angu

[AngularJS] Angular 2 Router

2016-05-24 Thread Rylan Gotto
Hello all, I was hoping someone might be able to point me to the correct documentation for the current angular 2 Router. It would seem that the docs on angulars site are outdated. Any help would be much appreciated! -- You received this message because you are subscribed to the Google Groups

[AngularJS] Creating a test suite that sends a header as part of the test

2016-05-24 Thread Stephen Adams
Hi, I'm working on a test for a service that passes a session ID within the header. I'm working on how to mock this up, I'm not sure how to mock it so a header is sent as part of the test. How do I pass a mocked header as part of the test in order to run against the functions of the service I

[AngularJS] Re: Put custom data to each directive scope

2016-05-24 Thread Sander Elias
Hi Ku, Don't use rootscope for that. Make a service that holds this data, and inject those where ever you need them. You can split it into a couple of services, and create an extra(few) services for the most used ones. Regards Sander -- You received this message because you are subscribed to

[AngularJS] Re: angular.injector vs $injector

2016-05-24 Thread Sander Elias
Hi Ku, I think you are better off with a build step for that. I use gulp-angular-templatecache just for that. It gobbles up all my template files, and spits out an module you can include that stuffs all of it in the $templateCache Regard

Re: [AngularJS] Re: Automate the validation of protractor framework

2016-05-24 Thread Jitendra Singh Bhati
Thanks Sander. On Tue, May 24, 2016 at 7:44 PM, Sander Elias wrote: > Hi JLyon, > > Yep, that seems a good place to start. If you need more/different info > regarding this, I suggest you open up an issue in that repo. > > Regards > Sander > > -- > You received this message because you are subscr

[AngularJS] Re: Automate the validation of protractor framework

2016-05-24 Thread Sander Elias
Hi JLyon, Yep, that seems a good place to start. If you need more/different info regarding this, I suggest you open up an issue in that repo. Regards Sander -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop

[AngularJS] Official tutorial does not make sense.

2016-05-24 Thread Niklas Rammerstorfer
I have been following the tutorial under: angularjs.org/tutorial Everything went well until the step from step 7 to step 8. Suddenly there are other file names used. The github change view does not make sense either. There suddenly are components used. It is neither explained what components

[AngularJS] upgradeAdapter.bootstrap an angular2 app?

2016-05-24 Thread Kyle Thomas
Is it possible to start out with an angular2 app and then bootstrap it to leverage the upgradeAdapter? I have a boot.ts /// import { bootstrap } from '@angular/platform-browser-dynamic'; import { ROUTER_PROVIDERS } from "@angular/router"; import { LocationStrategy, HashLocationStrategy } from "@

[AngularJS] Re: VP - AngularJS / HTML5 Developer Opportunity

2016-05-24 Thread Damian Mierny
damian.mie...@mshgroupconsulting.com On Monday, May 23, 2016 at 2:34:10 PM UTC-4, Damian Mierny wrote: > > All, I am working with a major financial institution in NY on a VP level > role. Looking for someone with 8+ yrs. GUI design, coding, and debugging. > Expert > knowledge of AngularJS, Java

[AngularJS] Installation of typings error while setting up the Angular2 Typescript environment as in the documentation

2016-05-24 Thread Biswajeet Nayak
Hi, I'm trying to setup the typescript Angular2 environment. but its constantly failing when it tries to install typings. Below is the error i get constantly trying all the methods possible. typings ERR! message Unable to connect to "https://api.typings.org/entries/dt/co re-js/tags/0.0.0%2B201

[AngularJS] Put custom data to each directive scope

2016-05-24 Thread Ku buś
Hello, In my application I have app.run(function(rootScope) { $rootScope.Config = Configuration; $rootScope.User = doLocalStorage; $rootScope.EntityEnums = EntityEnums; $rootScope.System = System; }); Thanks to this I can use my Enums and Configuration in any controller and view

[AngularJS] Re: $scope.$on function is not running

2016-05-24 Thread 'Manish Pal' via AngularJS
Not sure, what $scope.$root is...but if you $broadcast it from $rootScope, your other controller would get it. in fact won't be a bad idea to do $rootScope.$emit and then other controller listens to $rootScope.$on, that ways the event won't have to go through all the scopes on your page. On Fr

[AngularJS] Re: No provider for $scope! exception with UpgradeAdapter (upgrading angular1 directive to angular2)

2016-05-24 Thread 'Manish Pal' via AngularJS
Yes looks like that. https://angular.io/docs/ts/latest/guide/upgrade.html#!#how-the-upgrade-adapter-works There are two key things to understand about what happens in the DOM of a hybrid application: 1. Every element in the DOM is owned by exactly one of the two frameworks. The other fram

[AngularJS] Re: angular.injector vs $injector

2016-05-24 Thread Ku buś
In my application I have like 10 directives that have own html template. In application run I would like to put all templates in cache and in directives method "template" I would like to retrieve correct template. I know I can do this by injecting $templateCache to each directive. But its reall