[AngularJS] Directive communication question

2016-07-26 Thread leonard flournoy
If in one directive I create a timeline object like this timeline = new links.Timeline(document.getElementById('mytimeline'), scope.timeline.options); is there a way to call functions on that timeline from another directive? Really new to Angular and javascript. Any information would be

[AngularJS] Re: Clear Documentation for angular2 for plain javascript / es5

2016-07-26 Thread Michael Yara
Having the exact same problem (same exception) with plain JavaScript and router 3.0.0-beta.1. Venkata: any luck finding a solution? On Monday, July 25, 2016 at 7:31:09 AM UTC-6, Venkata Chakradhar wrote: > > Angular2 for plain javascript / es5 has been difficult for users to > understand

[AngularJS] Re: ng-include or equivalent in Angular2?

2016-07-26 Thread neuronet . it
DynamicComponentLoader is now deprecated and doesn't fire events propely. Use ComponentResolver with ViewContainerRef. import { Directive , Input, OnInit, ComponentResolver,ViewContainerRef } from '@angular/core'; @Directive({ selector:'[yourSelector]' }) export class YourDirective

Re: [AngularJS] Re: ng-pattern not working

2016-07-26 Thread 'Lucas Lacroix' via AngularJS
In Angular2, there is a PatternValidator directive. Not sure if there is an equivalent directive for Angular1. Sorry I can't be of more help. On Tue, Jul 26, 2016 at 12:45 PM, Rajan Singh wrote: > I have already verified regex on http://regexr.com/ & now verified on >

[AngularJS] Re: ng-pattern not working

2016-07-26 Thread Rajan Singh
I have already verified regex on http://regexr.com/ & now verified on https://regex101.com/ It is a valid regex. On Tuesday, July 26, 2016 at 8:24:59 PM UTC+5:30, Rajan Singh wrote: > > Hi, > > I have pattern which is /^\w(?:(?![ \\.']{2,})[\w \\.'])*/. It is for > name which starts with

[angular-dart] Re: Angular Dart Routing

2016-07-26 Thread 'Ferhat' via angular-dart
Hi Tomasz, We are currently evaluating the changes. At the very least we will move routing into a separate library, but not deprecate it since some large projects are happily using it. There are some nice router implementations out there from the community and we'd very much like to have

Re: [AngularJS] ng-pattern not working

2016-07-26 Thread 'Lucas Lacroix' via AngularJS
This seems like an issue with regex. I would try out a service like this: https://regex101.com/ On Tue, Jul 26, 2016 at 10:54 AM, Rajan Singh wrote: > Hi, > > I have pattern which is /^\w(?:(?![ \\.']{2,})[\w \\.'])*/. It is for > name which starts with words &

[AngularJS] ng-pattern not working

2016-07-26 Thread Rajan Singh
Hi, I have pattern which is /^\w(?:(?![ \\.']{2,})[\w \\.'])*/. It is for name which starts with words & allows .(period), (space), '(Single Quote) but two consecutive .(period), (space), '(Single Quote) are not allowed. I am using ng-pattern= /^\w(?:(?![ \\.']{2,})[\w \\.'])*/ which is not

Re: [AngularJS] Re: Clear Documentation for angular2 for plain javascript / es5

2016-07-26 Thread 'Lucas Lacroix' via AngularJS
The core-js library should provide all the polyfills you need. I would suggest creating a plunkr to reproduce the issue. Otherwise, there is nothing else to go on here. I don't write Javascript anymore. Typescript (or any other transpiler) has far too many benefits to write vanilla JS, IMO.

[AngularJS] Re: Clear Documentation for angular2 for plain javascript / es5

2016-07-26 Thread Venkata Chakradhar
Following is the order of scripts I load Since I use plain javascript and shim.js

[AngularJS] How can be permission denied errors handled with Angular?

2016-07-26 Thread ChandraSekhar Sannamuri
How can be permission denied errors handled with Angular? -- 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 angular+unsubscr...@googlegroups.com. To post to this

[AngularJS] Amongst directive, factory, service and provider, which provides the lowest level of abstraction?

2016-07-26 Thread ChandraSekhar Sannamuri
Amongst directive, factory, service and provider, which provides the lowest level of abstraction? -- 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

[AngularJS] Re: Clicking on the image changes the {{colour}}

2016-07-26 Thread Team AF
Real beginner. Kindly give me the code. On Tuesday, July 26, 2016 at 4:14:29 PM UTC+5:30, Newen F wrote: > > you would make 2 classes. like the two different states. and just add the > class when you wan to change state. right? > > > > I think. > > On Tuesday, July 26, 2016 at 10:17:16 AM

Re: [AngularJS] Re: Clear Documentation for angular2 for plain javascript / es5

2016-07-26 Thread 'Lucas Lacroix' via AngularJS
It sounds like you're missing a polyfill or library. What scripts are you pulling in? On Tue, Jul 26, 2016 at 2:08 AM, Venkata Chakradhar < venkatachakrad...@gmail.com> wrote: > > I loaded this file > "~/.bin/node_modules/@angular/router/bundles/router.umd.js", which covers > routing and

Re: [AngularJS] Convert Angular $http post to async

2016-07-26 Thread András Csányi
Hi, It is already asynchron from your client application viewpoint. What other asynchronicity you would like to achieve? Thanks, András - - -- Csanyi Andras (Sayusi Ando) -- http://sayusi.hu -- http://facebook.com/andras.csanyi -- ""Trust in God and keep your gunpowder dry!" - Cromwell On

[angular-dart] Angular Dart Routing

2016-07-26 Thread Tomasz Kubacki
Hi, Do you plan change routing in a way TS version is done ? Is Angular Dart routing deprecated as well ? -- You received this message because you are subscribed to the Google Groups "angular-dart" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [AngularJS] Re: Function call inside nested ng-repeat

2016-07-26 Thread Anka Wirawan
Ok, tomorrow i will upload my code on plunker and create new thread. On Tue, Jul 26, 2016 at 10:55 AM, Sander Elias wrote: > Hi Paijo, > > There are a couple (better?) ways to solve this. If you want some more > help with this, create a plunk >

[AngularJS] Re: Clicking on the image changes the {{colour}}

2016-07-26 Thread Team AF
Awesome ! Works great. My primary requirement is to bind the colour change to a CSS class. How can I accommodate with this code ? On Tuesday, July 26, 2016 at 9:19:14 AM UTC+5:30, Sander Elias wrote: > > Hi Team, > > This is the simplest solution I could come up with: > > > >

[AngularJS] window.open

2016-07-26 Thread Ben Gill
Hi, I want to use Window.open from one Angular (2) app, and open up a new tab to point to navigate directly to a specific controller/component, ie: localhost:/myPage?queryParam1=foo=bar When I do this, it seems to start the Angular 2 bootstrap process. So I kind of want to hit this URL

[AngularJS] Convert Angular $http post to async

2016-07-26 Thread Frijx Frijx
Hi all, I'm trying to convert the following post to async, I dont know if anyone could possibly help me ? angular.module('testAsync').controller('ContactController', function ($scope , $http) { $scope.sendMail = function () { document.getElementById("info").innerHTML = "Sending,

[AngularJS] Re: Clear Documentation for angular2 for plain javascript / es5

2016-07-26 Thread Venkata Chakradhar
I loaded this file "~/.bin/node_modules/@angular/router/bundles/router.umd.js", which covers routing and navigation parts, referenced files before I use them and every thing is okay. But I get those unsolvable errors. Typescript code is working fine but I need routing and navigation in plain