[AngularJS] Re: angularjs issue

2017-07-10 Thread Sander Elias
Hi, Eval is a reserved word in JS, so that might be the culprit. If that's not it, put the thing in a plunk, and I will help you out. Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from

[AngularJS] Re: function declared within link is not being triggered

2017-07-10 Thread Sander Elias
hi Shankar, Don't use compile unless you have no other means possible to accomplish the thing you think you need to use compile for! And no, it's way better to do all in the controller indeed. You really should read through the style-guide at

[AngularJS] Re: Angular 2 and MongoDB, How can I use it?

2017-07-10 Thread Sander Elias
Hi Sykes, Yes that is possible. Iirc, mongo even has a direct rest interface you can hook up to the web. However, this is a *very high risk*. I would *never* hook up any DB directly to the web. Put in a server in between so you have control over the access to the DB. Have a look at the mean

[AngularJS] Re: Looking for a HTML layout tool

2017-07-10 Thread Sander Elias
Hi Reza, html/css will work fine. You might want to use the Angular Flex-layout Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and

[AngularJS] Re: Problème exécution angular

2017-07-10 Thread Sander Elias
Hoi, Ik weet niet helemaal zeker wat je verkeerd doet, maar een lege `ng-app` werkt niet met de latere versies van AngularJS. Groetjes Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group

[AngularJS] Re: possible to use an unusual base href

2017-07-10 Thread Sander Elias
Hi Jonathan, Hmm, not sure, did you try "" for base ref? Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[AngularJS] Re: what is scope in angularjs in detail

2017-07-10 Thread Sander Elias
Hi Vikas, If you are learning now, the thing you really need to know about $scope is that you have to avoid it as much as possible. Read through the style-guide for the why and how. Do yourself a favor and read that thing in its whole. Even if

[AngularJS] Re: exclude actions column into excel from angularjs

2017-07-10 Thread Sander Elias
Hi Bigdata, Sure, show us a plunk/fiddle/jsbin, and it will be possible to help you. Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an

[AngularJS] Re: Excluding column while exporting as xls in angular JS

2017-07-10 Thread Sander Elias
Hi Bigdata, Sure, show us a plunk/fiddle/jsbin, and it will be possible to help you. Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an

[AngularJS] Re: dynamically create dropdowns

2017-07-10 Thread Sander Elias
Hi Vova, Don't use the DOM as data, let it follow your data. Don't use $compile unless there is absolutely no other way. It will bog down your application to a crawl soon otherwise. Here is a plunk showing you how you can do this . I updated your code to

[AngularJS] Re: Issue with $digest

2017-07-10 Thread Sander Elias
Hi Jigar, I think you just answered your own question ;) don't use IE! When even the creator of IE drops support for it, while would you continue to support it? You can probably find a way out of this, using setTimeout, and refresh something in the UI while the upload is busy, but I do doubt

[AngularJS] Re: how to exclude actions button when download into excel from angularjs

2017-07-10 Thread Sander Elias
Hi Bigdata, Show us a plunk/jsbin/fiddle on what it is you are trying to accomplish. Then it might be possible to help you! Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and

[AngularJS] Re: [angular.js] Handling HTTP 304 Not Modified status when loading templates

2017-07-10 Thread Sander Elias
Hi Anne, This is so much outside the reach of angular! A 304 means the server say's to the browser, there is no change in this file, you can use your cached version. They only way to get a 304 is when there is indeed a cached version, otherwise, the file would just get pulled, like every other

[AngularJS] Re: Cache the page and save rendering time

2017-07-10 Thread Sander Elias
Hi Rosh, As you are asking about Angular (that means version 2 and up!), yes that can be done. You need a custom RouteReuseStrategy to do that. My friend Manfred has an article on how to do just that

[AngularJS] Re: ng-bind-html limit number of characters

2017-07-10 Thread Sander Elias
Hi Bhushan, How do you imagine doing that? If you bind html you might get: HiWelcome As a source string, What 10 chars are you going to use? Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe

[AngularJS] Re: Is there a way to use svg iframe in angular4

2017-07-10 Thread Sander Elias
Hi Stéphane, You made me realise this is a possibility! What is for you the difference between an iframe embedded in SVG as opposed to a regular iframe? Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To

[AngularJS] Re: Angular - Shared Module problem with chunk sizes:

2017-07-10 Thread Sander Elias
Hi Touqeer, In a next iteration of the CLI, there will be named chunks, making this easier to spot. And IIRC (and I'm not sure about this one) this issue is also being dealt with by a (near) future update of the CLI (well actually the fix for it is in webpack). If you can wait it out a few

[AngularJS] Re: How do you load a component's template from a backend webserver?

2017-07-10 Thread R.
https://angular.io/guide/dynamic-component-loader -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To

[AngularJS] Re: How do you load a component's template from a backend webserver?

2017-07-10 Thread R.
IMHO, with the current model of Angular, is not possible. I was concerned about that situation. Because all my ui components are available for any kind of users no matter his privileges -a user only must access its proper ui views, and not of the rest- when someone use devtools from Firefox or

[AngularJS] Re: Autofill Angular 1.3.15 form from browser or .net

2017-07-10 Thread Tom Wynne
I don't have access to the code, i am not the owner of the site. I just want to fill in the username and password with javascript code (from a chromium web browser control in .net) and be able to click the submit button. I can't figure out how to make the submit button accept the values i

[AngularJS] Re: typeahead autocomplete not updating content after add new client ?

2017-07-10 Thread Sander Elias
Hi Ahmed, You break the reference once you use your getClient. try: $scope.clients.length = 0 $scope.clients.concat(data.data) that will keep the reference intact, and should update the ui. Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular

[AngularJS] Re: Looking for a date picker control

2017-07-10 Thread Stéphane Ancelot
https://material.angular.io/components/datepicker/overview Le jeudi 6 juillet 2017 23:15:01 UTC+2, Reza Razavipour a écrit : > > I have attached a screen shot of what I need. > > Anyone knows of one and recommends it? > I am using Angular4 and SystemJS. > -- You received this message because

[AngularJS] Angular - Shared Module problem with chunk sizes:

2017-07-10 Thread Touqeer Shafi
I have application structure like this: 1. app 1. Shared Module 2. Modules 1. ExternalSourceModule Child Modules 1. SourceModule 2. EntityModule ExternalSourceSharedModule 1. `ExternalSourceSharedModule`

[AngularJS] Is there a way to use svg iframe in angular4

2017-07-10 Thread Stéphane Ancelot
Hi, I was wondering which is the right way to embed an svg iframe file in order to manipulate it's dom ? Regards, Steph -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving

[AngularJS] Getting started with Angular 4 and best practices

2017-07-10 Thread marketing
Getting started with Angular 4? Here are the best practices that we embrace at Softcrylic. Build production ready code with minimal iterations: http://www.softcrylic.com/blogs/getting-started-with-angular-4-and-best-practices-angular-cli/ -- You received this message because you are

[AngularJS] Re: Where am I able to find Angular tutorials that are up to date?

2017-07-10 Thread Sander Elias
Hi John, A small sample application is just what the CLI produces if you do `ng new MySampleApp`. As there are very little to none breaking changes between 2 and 4, most courseware should still be good. (Well, no breaking changes in Angular itself, there are some dependencies around that might

[AngularJS] Re: Standard Javascript to Angular Code Conversion Samples?

2017-07-10 Thread Sander Elias
Hi Daryl, What angular version are you talking about? AngularJS or Angular v 2+? But actually, in the end, it doesn't really matter that much, as (and this goes even more for Angular) just uses what is already there (HTML, CSS, and JS), so the differences are not that big. Regards Sander --

[AngularJS] Re: Autofill Angular 1.3.15 form from browser or .net

2017-07-10 Thread Sander Elias
Hi Tom, Why don't yu just set the default values from withing angular? Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [AngularJS] Re: Angular 4 in a production environment

2017-07-10 Thread Sander Elias
Hi Arun, Have a look at https://www.madewithangular.com/ and http://angularexpo.com/ There is a lot that's built with angular 2+, A load of them already switched to 4. For sure every Google-owned project. Regards Sander -- You received this message because you are subscribed to the Google

[AngularJS] How Do I disable a clicked button in AngularJS?

2017-07-10 Thread Zlatko Đurić
Maybe have is Disabled being a map instead? E.g.directive would be: ng-disabled="isDisabled[$index]" And than your controller sets that: addToCart(index, ...rest) { ... this.isDisabled[index] = true; ... } (Or whatever the method names, typing on a phone here). --