[AngularJS] Update d3 SVG inside controller or directive?

2015-02-17 Thread Arman Didandeh
Hi folks, I have a custom directive which creates inside the link function an SVG element and puts some DOM elements using d3. This is done by accessing a $scope.drawGraph(scope, element, attr) function within the directive's link. Now I need to update this SVG as the user manipulates some

[AngularJS] why use angular routing over express (and vice versa)

2015-02-17 Thread mukhtar jugger
I've just started learning the mean stack and i see that a lot of tutorials (most are pretty old) and some template projects (like mean.io) using angular for routing instead of express (about 80% angular routing and 20% express). So what i need to understand is what advantage does angular

[AngularJS] Re: Protractor:How to remove extra space from string just like we use in java getText.trim()

2015-02-17 Thread Subbarao G
The reason you get that error is your columnvalue is not the string rows.get(9).getText().then(function(text) { console.log(text); var columnvalue1=text.trim(); console.log(columnvalue1); }); Should work. On Wednesday, February 18, 2015 at 10:17:04 AM UTC+5:30, Sujata Dwivedi wrote:

[AngularJS] Re: why use angular routing over express (and vice versa)

2015-02-17 Thread Sander Elias
Hi Mukhtar, If you are experience full-page reloads on every request, you are doing something wrong. In a spa, you have an full-page request just once, and after that, everything is 'ajaxed' in. Go over the phonegap https://docs.angularjs.org/tutorial/step_07sample on the angular home-page, it

[AngularJS] Re: [angular.js] Accessing controller's dom element

2015-02-17 Thread xin zhang
Hi Igor, Looks like $element has been killed. Then how do I use $mdToast to show a toast within one specific element? In other words, how can I get the controller's element and assign it to parent option of $mdToast? Thanks On Saturday, 10 September 2011 02:35:05 UTC+10, Igor Minar wrote:

Re: [AngularJS] Date format

2015-02-17 Thread Rakesh Yeluri
Thanks for the reply. I used moment.js and it's converting the date, but is there any other alternative option which parse and change to the desired date format from string format. On Tuesday, February 17, 2015 at 7:17:18 PM UTC+5:30, Atul Vani wrote: The 'Date' is not a date object but a

[AngularJS] Re: need to dynamically embed controllers -- am I on the right track ?

2015-02-17 Thread Sander Elias
Hi Al, Took a quick look. Missed an sample. Looks like it might be useful to some. 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

[AngularJS] Re: Protractor:How to remove extra space from string just like we use in java getText.trim()

2015-02-17 Thread Sujata Dwivedi
Thank you for your answer i tried but i got error- Object [object Object] has no method 'trim' I used like this: var columnvalue=rows.get(9).getText(); var columnvalue1=columnvalue.trim(); I am using protractor for testing angular js page. On Tuesday, February 17, 2015 at 8:16:28 PM UTC+5:30,

[AngularJS] Re: Protractor:How to remove extra space from string just like we use in java getText.trim()

2015-02-17 Thread Sujata Dwivedi
Thank you,now its working fine... On Wednesday, February 18, 2015 at 12:13:46 PM UTC+5:30, Subbarao G wrote: The reason you get that error is your columnvalue is not the string rows.get(9).getText().then(function(text) { console.log(text); var columnvalue1=text.trim();

[AngularJS] Re: How to using jquery datatable plugin in angularjs ?

2015-02-17 Thread Senthil Kumar
Dear Allon, Thank you for your suggestion , i think the angular- datatables is best replacement for jquery datatable. thanks a lot . - Senthil Kumar On Wednesday, February 18, 2015 at 1:52:06 AM UTC+5:30, Al J wrote: If you must have _the_ datatables (from http://datatables.net/)

[AngularJS] Re: Update d3 SVG inside controller or directive?

2015-02-17 Thread Sander Elias
Hi Arman, You should do this inside your directive. You can attach an controller to the directive that you can expose to the scope using controllerAs. That way you can call an function in your directive from the view. Regards Sander -- You received this message because you are subscribed to

[AngularJS] How to call the AngularJs factory Only once

2015-02-17 Thread Giridhar Bhageshpur
Hi all, I was working on a prototype in angularjs and the code is something as below .controller('HomePageController',['UserService','socket',function(UserService,socket) { this.userservice = UserService; socket.on('messagetoyou',function(data){

[AngularJS] Re: How to call the AngularJs factory Only once

2015-02-17 Thread Sander Elias
Hi Giri, Reload, as in browser reload? The only way I know will be the use off service-workers. Sadly, that's only available in chrome. You know that a reload tells a browser to re-init and re-fetch everything that's behind an URI?. It is a new page load, so you really can't do anything in

[AngularJS] Re: using jScrollPane with ng-repeat

2015-02-17 Thread Amerrnath Murugan
HI simon radice . along with your code . i just added few things which might leverage the directive . jScrollPane with addition of dynamic content. and resize on window heights app.directive('niceScroll', [function () { return { restrict: 'A', transclude: true, template: 'div

[AngularJS] drop down box 1 (departments) and drop down box 2 (titles) I cannot get drop down box 2 to populate with changed list of titles from user's selection from drop down box 1 inside a modal

2015-02-17 Thread haddydiane
Hello: I am pretty new to angular js. Here is the issue:I display a model panel with 2 drop down boxes. Box 1 is a list of departments and Box 2 is list of titles for that department. When user changes a value in Box 1 I do a $scope.watch on that value and am able to retrieve the

Re: [AngularJS] Re: Error only in IE 10. Suggestions?

2015-02-17 Thread Dane Vinson
I've tried it both with and without compatibility mode. Same error each time. Thank you for the suggestion though. On Mon, Feb 16, 2015 at 11:08 AM, Ernesto Angel ernesto.angel...@gmail.com wrote: Is IE running in compatibility mode? On Tuesday, February 10, 2015 at 6:27:27 PM UTC-6, Dane

Re: [AngularJS] Re: Error only in IE 10. Suggestions?

2015-02-17 Thread Dane Vinson
I'm not using a tremendous number of extra modules but that's definitely a possibility. I'll take a look at the documentation of each and see. Thanks for the idea. On Sat, Feb 14, 2015 at 9:29 PM, Nicholas Smith nick.sm...@gmail.com wrote: Are you including any other modules or libs that don't

[AngularJS] jqlite wrap tags

2015-02-17 Thread Mohan Radhakrishnan
Hi, Is there a way to wrap tags like this ? I want all my 'href' tags to wrapped, .directive(packagedownload, function(){ return { restrict: E, transclude: true, scope: { title: @ }, templateUrl: /packagedownload.html, link: function(scope, element, attrs){

[AngularJS] Business Analyst ..........CA-California/Thousand Oaks.......6+ Months/Contract ....T+F

2015-02-17 Thread Navneet Vij
*Please reply navn...@rgtalent.com navn...@rgtalent.com* *Hi,* *I have an urgent requirement with one of my clients, details given below. If you find yourself suitable* * For the position, please send me your latest updated resume along with contact details.* *Job Title

[AngularJS] Using modules as namespaces or packages

2015-02-17 Thread Blake McBride
I was having a hard time doing some basic namespace/package-like stuff so I came up with the following that enables me to use angular modules as namespaces. Am I missing something? var setModuleValue = function (module, valName, value) { if (typeof module === string) { module =

Re: [AngularJS] Date format

2015-02-17 Thread Atul Vani
On second thoughts, you can put Date.parse method in $scope too. Fiddle: http://jsfiddle.net/a14gww42/ On Tue, Feb 17, 2015 at 7:16 PM, Atul Vani atulv...@gmail.com wrote: The 'Date' is not a date object but a string. Use datejs or momentjs to convert it to date. On Tue, Feb 17, 2015 at 5:52

Re: [AngularJS] Re: How to get data from database using $resource attribute

2015-02-17 Thread Tripuramallu Bhagyasri
Hi Sander, Can you please tell how to get perticular row in table from database while submitting username or anything using angularjs the webpage should contain one text box after giving username in textbox while submitting that it has to print all the details of the particular

[AngularJS] Re: ng-animate in magnific popup

2015-02-17 Thread Александр Духновский
While situation has not changed with fancybox. -- 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 group, send

[AngularJS] Re: Protractor:How to remove extra space from string just like we use in java getText.trim()

2015-02-17 Thread Sander Elias
Use trim(). blah .trim() == blah 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 angular+unsubscr...@googlegroups.com. To post to this group,

Re: [AngularJS] Date format

2015-02-17 Thread Atul Vani
The 'Date' is not a date object but a string. Use datejs or momentjs to convert it to date. On Tue, Feb 17, 2015 at 5:52 PM, Rakesh Yeluri yeluri.rak...@gmail.com wrote: Hi All, I have scope property which have below format in my controller, $scope.event = {

[AngularJS] Re: How to using jquery datatable plugin in angularjs ?

2015-02-17 Thread Al J
If you must have _the_ datatables (from http://datatables.net/) then I recommend this plugin http://l-lin.github.io/angular-datatables He has included options to use it the angular-way (understanding that he is doing what it takes to support that -- datatables is not very angular at all) On

[AngularJS] Re: Using modules as namespaces or packages

2015-02-17 Thread Blake McBride
Turns out, having setModuleValue return the module is useful. On Tuesday, February 17, 2015 at 10:33:54 AM UTC-6, Blake McBride wrote: I was having a hard time doing some basic namespace/package-like stuff so I came up with the following that enables me to use angular modules as

[AngularJS] Re: need to dynamically embed controllers -- am I on the right track ?

2015-02-17 Thread Al J
The result of this work is available now AngularJS action icons directive that sends click events to your code as promises: https://github.com/ajoslin103/angular-action-icons On Thursday, February 12, 2015 at 4:31:46 PM UTC-5, Al J wrote: hooked up the purely presentation action icons w/an

[AngularJS] Re: jqlite wrap tags

2015-02-17 Thread Sander Elias
Hi Mohan, Is it just for style? -- 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 group, send email to

[AngularJS] Lead Oracle DBA.....OH-Ohio/Columbus..... 6+Months/ Contract....T +S

2015-02-17 Thread Navneet Vij
Please reply navn...@rgtalent.com Hi, I have an urgent requirement with one of my clients, details given below. If you find yourself suitable For the position, please send me your latest updated resume along with contact details. *Job TitleLead Oracle DBA*

[AngularJS] Re: Angular.js and Google Pagespeed Insights: render-blocking JavaScript and CSS in above-the-fold content

2015-02-17 Thread tomw
Hi Sander, I could not agree more... best, tomw On Tuesday, February 17, 2015 at 8:18:25 AM UTC+1, Sander Elias wrote: Hi Tomw, Yes, that's the sad truth at the moment. It takes a little effort to optimize a app, and it's not always paying off. However, If I build something public

Re: [AngularJS] Re: How to get data from database using $resource attribute

2015-02-17 Thread raju reddy
Hi Tripuramallu, Can you please tell me how u did.Iam facing same issue. Thanks, Raju On Tue, Feb 17, 2015 at 3:23 PM, Tripuramallu Bhagyasri tripuramal...@gmail.com javascript: wrote: Hi Sander, Still I am getting same error GET

Re: [AngularJS] Re: How to get data from database using $resource attribute

2015-02-17 Thread Tripuramallu Bhagyasri
Hi raju, I have used javascript as var myapp=new angular.module(myapp,[ngResource]); myapp.controller(MainCtrl,[$scope,$resource,function($scope,$resource){ var user=$resource( http://localhost:8082/RESTJerseyExample/rest/restfultest/GetCarValues;); $scope.list=function(){

Re: [AngularJS] Re: How to get data from database using $resource attribute

2015-02-17 Thread raju
Thanks -- 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 group, send email to angular@googlegroups.com.

[AngularJS] Date format

2015-02-17 Thread Rakesh Yeluri
Hi All, I have scope property which have below format in my controller, $scope.event = { name : 'xyz', city : 'Florida', sessions: [ { exp: '5',

[AngularJS] Protractor:How to remove extra space from string just like we use in java getText.trim()

2015-02-17 Thread Sujata Dwivedi
Hi All, How to remove extra space from string just like we use in java getText.trim() in Protractor Thanks, Sujata -- 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: angularjs ng-click with boostrap's data-dismiss=modal

2015-02-17 Thread Rahul Nair
Hi Leblanc How did you resolve this issue? Iam also facing the same. Seek valuable help and support. Thanks in Advance! On Monday, April 15, 2013 at 3:26:09 AM UTC+5:30, Leblanc Meneses wrote: data-dismiss=modal is bootstrap's way to dismiss a modal window button data-dismiss=modal