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
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
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
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);
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
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
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
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
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:
>
>
>
>
>
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
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
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
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
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
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
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
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,
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
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
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
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
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
Hi Sander,
Thanks for your suggestion.
Do you mean this protractor
repo: https://github.com/angular/protractor/tree/master/spec/suites?
Regards,
JLyon
On Tuesday, May 24, 2016 at 11:12:46 AM UTC+5:30, Sander Elias wrote:
>
> Hi JLyon,
>
> Oh, validate the validator, how nicely meta :)
> A
23 matches
Mail list logo