These are chat archives for AngularClass/NG6-starter

18th
Feb 2016
Diogo Afonso Barroso
@icylabsDev
Feb 18 2016 12:08
how do you guys load templates that I can reference in an ng-include with the webpack bundling?
Sergey Protko
@fesor
Feb 18 2016 12:12
@icylabsDev I just not using ngInclude
Diogo Afonso Barroso
@icylabsDev
Feb 18 2016 12:12
but then how can I load templates dynamically?
I really don't see any other way... Lets say I get a name 'template1' or 'n' and I need to load the according template.
I understand ng-include is not so good, but I really don't see any other way
I'm using ng-include to load a 'template_n' that has a componenet inside like <template-n></template-n> then I can use a componenet
I'm really having difficulty with with
=)
*with this
how do you do?
@fesor
Diogo Afonso Barroso
@icylabsDev
Feb 18 2016 12:19
I have looked into ng-template-loader, ng-cache-loader but they are not doing that.
Foucauld Degeorges
@foucdeg
Feb 18 2016 16:56
Hi! Has anyone made a custom input type with specific formatting and validation in their ng6-starter ? (ie credit card number?)
I can't really see how to write something like this : https://docs.angularjs.org/guide/forms#custom-validation , but NG6 style.