[AngularJS] Angular 7 Library Route Module does not work when imported in application

2019-01-23 Thread Raul Valentini
I need a help about an issue that I cannot solve. I'm studying angular 7 library in order to add modularization to my application but module routes defined in library seems not work when install it in a application. I have created project to github to reproduce problem: Library test [foo-lib](

[AngularJS] Laravel and AngularJs Project Sample

2016-06-11 Thread Raul Berina
I'm looking for some project made in Laravel and AngularJs 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

[AngularJS] Re: Any Material Design libraries for Angular 2.0 applications?

2016-01-03 Thread Raul
Thank you Günter! As it seems it will take quite a lot of time to have a working alternative :-( It is strange as for many people Angular 2 can only be used if you can provide the material look and feel. -- You received this message because you are subscribed to the Google Groups "AngularJS"

[AngularJS] Any Material Design libraries for Angular 2.0 applications?

2016-01-03 Thread Raul Rodriguez
I am looking for a material design library to be used with Angular 2.0. Material Design Lite (MDL) was quite easy to setup, but I get some problems when I try to create components as I would like to design them. For example I would like my main index.html to look something like this (just the

Re: [AngularJS] Re: Programmatically iterate over name of directives in a module?

2015-05-07 Thread Raul Vieira
Have you looked into how batarang does its thing? It outputs interesting information to the console about your app like component naming conventions. I believe it's using decorators to get info about your app. It maybe worth a look. Raul Sent from my iPhone > On May 7, 2015, at

Re: [AngularJS] Re: Angular 1.2 EOL

2015-02-11 Thread Raul Vieira
Thanks very much. We'll have a closer look. Raul Sent from my iPhone > On Feb 11, 2015, at 7:47 AM, Fergal Doyle wrote: > > I'm not sure about the answer to your question but having 1.3 working with > IE8 would be an upgrade path for you. > See here: > ht

[AngularJS] Angular 1.2 EOL

2015-02-10 Thread Raul Vieira
nybody know how long this will continue? Thanks your the best. Raul -- 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.

Re: [AngularJS] Re: Dynamically load angular version based on browser (to support IE8)

2015-01-24 Thread Raul Vieira
so if you dynamically specify the ng version, don’t you then need to ensure the other modules you’re bringing in are compatible? Have you considered making having 2 builds and pulling down the appropriate one? > On Jan 24, 2015, at 11:19 AM, Paul C wrote: > > This seems to work... > 1) Remov

Re: [AngularJS] End to End Testing - AngularJS

2015-01-09 Thread Raul Vieira
server. Putting this in an out-of-band process reduces the feedback. QA contributes by doing more exploratory testing and if there skill set supports it they can be write the end-to-end tests. I hope that helps. Raul > On Jan 9, 2015, at 12:18 PM, Jeremy Heckathorn > wrote: >

Re: [AngularJS] AngularJS template to static html

2014-12-12 Thread Raul Vieira
If the templates are remote and you just need a copy and paste then use the Dom inspector to get the templates. Still seems limited. I hope that helps. Raul Sent from my iPhone > On Dec 12, 2014, at 7:28 PM, wouter vm wrote: > > Well I bought the #app# because it is a nice look

Re: [AngularJS] Re: $scope.$apply in the controller as style

2014-12-12 Thread Raul Vieira
Perhaps delegating to a service will make it less odd. Raul Sent from my iPhone > On Dec 12, 2014, at 6:45 PM, Eric Eslinger wrote: > > It's more just odd - I am working on converting to using the 'controller as' > syntax, which mostly does away with directly ad

Re: [AngularJS] AngularJS template to static html

2014-12-12 Thread Raul Vieira
em as well. Other mechanisms will require ng. Probably not that useful, but maybe you can describe your goals. Raul Sent from my iPhone > On Dec 12, 2014, at 6:33 PM, wouter vm wrote: > > Hello Raul, > > Sorry it was so unclear. > I am trying to extract the ng templ

Re: [AngularJS] Uncaught TypeError: undefined is not a function... Error all the time

2014-12-12 Thread Raul Vieira
I would expect a code change at some point introduced this problem. Have you tried rolling back to a previous commit to identify when it started failing? Raul Sent from my iPhone > On Dec 12, 2014, at 3:17 PM, Kirru wrote: > > Hi All, > > I have been facing a weird issu

Re: [AngularJS] AngularJS template to static html

2014-12-12 Thread Raul Vieira
Hi Wouter Your question was a little unclear to me. Are you trying to extract an ng template to work with it server side or include a server side template created using php into angular? Raul Sent from my iPhone > On Dec 12, 2014, at 3:09 PM, Wouter van marrum > wrote: > > He

Re: [AngularJS] Re: $scope.$apply in the controller as style

2014-12-12 Thread Raul Vieira
I don't know of any other option to get the view updates. The only choices to make would be to apply at the current scope vs the root level or moving the apply into a service. The latter would require the rootscope (I know you know that already:)). Are you doubting the behavior using the new

Re: [AngularJS] Showing authorised content with Angularjs not working (ng-if)

2014-12-12 Thread Raul Vieira
Batarang might give you some useful information. Raul Sent from my iPhone > On Dec 12, 2014, at 3:33 PM, Nic Whittle wrote: > > http://stackoverflow.com/questions/27450941/showing-authorised-content-with-angularjs?noredirect=1#comment43340622_27450941 > > I can't for

Re: [AngularJS] Routing with Multiple Instances of an AngularJS Application

2014-11-25 Thread Raul Vieira
I don’t know if you’ve seen this: https://egghead.io/lessons/angularjs-ui-router-activating-states Raul > On Nov 25, 2014, at 2:03 PM, Trevor Burkholder wrote: > > I did try ui-router's state based routing but nothing would happen when > clicking a link once I removed the u

Re: [AngularJS] Routing with Multiple Instances of an AngularJS Application

2014-11-25 Thread Raul Vieira
i don’t think there is away to localize url based routing per ng-app as they both are interested in window events . One solution could be to use ui-router’s state based routing instead of the urls. The caveat in this case is losing bookmark-ability. Raul > On Nov 25, 2014, at 12:06

Re: [AngularJS] Angular 2.0

2014-11-10 Thread Raul Vieira
Maybe this will make you feel better: http://eisenbergeffect.bluespire.com/all-about-angular-2-0/?utm_source=javascriptweekly&utm_medium=email <http://eisenbergeffect.bluespire.com/all-about-angular-2-0/?utm_source=javascriptweekly&utm_medium=email> Raul > On Nov 10, 2014, a

Re: [AngularJS] Unknown provider: $mdBottomSheetProvider <- $mdBottomSheet, Why??

2014-10-22 Thread Raul Vieira
Have you registered the module as a dependency of your module? Raul Sent from my iPhone > On Oct 22, 2014, at 10:40 AM, Mauricio nunes > wrote: > > Them came from angular-material.min.js, right? > and I pass $mdBottomSheet service as a parameter in my controller. > >

Re: [AngularJS] Who uses Karma?

2014-10-22 Thread Raul Vieira
I would expect most applications written with Angular and having unit tests would be run with Karma. > On Oct 21, 2014, at 5:39 PM, Brendan Kirby wrote: > > Does anyone know any popular applications that use Karma for unit testing? > > Thanks > > -- > You received this message because you ar

Re: [AngularJS] Send object (C#) from server to angular $http

2014-10-20 Thread Raul Vieira
until > it's work > > 2014-10-20 14:55 GMT+03:00 Raul Vieira : >> Why are parsing the data param? >> >> Sent from my iPhone >> >>> On Oct 20, 2014, at 7:52 AM, Bogdan Ionescu wrote: >>> >>> The content-type is application

Re: [AngularJS] Send object (C#) from server to angular $http

2014-10-20 Thread Raul Vieira
Why are parsing the data param? Sent from my iPhone > On Oct 20, 2014, at 7:52 AM, Bogdan Ionescu wrote: > > The content-type is application/json (is default for $http). > > luni, 20 octombrie 2014, 14:49:10 UTC+3, Raul Vieira a scris: >> >> You need to convert you

Re: [AngularJS] Send object (C#) from server to angular $http

2014-10-20 Thread Raul Vieira
You need to convert your response to JSON. Im not sure how you would do that with .net. Also, you should send the content-type as application/json in the response header so you don't have to call json.parse. Sent from my iPhone > On Oct 20, 2014, at 4:01 AM, Bogdan Ionescu wrote: > > I have

Re: [AngularJS] --- Problem with Controllers ----

2014-10-19 Thread Raul Vieira
- what isn't found? - what is iElement? - also, you've restricted your directive to support attributes but the comment shows as element Sent from my iPad > On Oct 18, 2014, at 4:28 PM, Mike Wassermann wrote: > > I am using Hottowel, > > I defined a directive: > > (function() { > 'use str

Re: [AngularJS] Re: Angular app.run() with async data

2014-10-16 Thread Raul Vieira
Have you looked into manually bootstrapping angular? Ie, make an async request for data then kicking off angular in your success handler. Raul Sent from my iPad > On Oct 16, 2014, at 2:50 AM, Nate Summer-Cook wrote: > > Hey Raoul > Having the exact same problem here... A dozen o

Re: [AngularJS] Re: Get POST parameter from url

2014-09-11 Thread Raul Vieira
The way I understood the ask was A makes a POST request to A which responds with a redirect to B. If that's the case B can get at the posted params if they are included in URL. ie, params in the body are included in the redirect URL. Did I understand correctly? Raul Sent from my i

Re: [AngularJS] Error IE8

2014-09-09 Thread Raul Vieira
Hi Carsten, 1.3 doesn't support IE 8. You'll probably want to stay on the 1.2 branch. Raul On Sep 9, 2014, at 10:42 AM, Carsten Karpowitz wrote: > AngularJS v1.3.0-rc.0 > > I've a problem with IE8. The angular ForEach is not working. > I'm using a real I

Re: [AngularJS] Re: What's the correct syntax to display alt="{{}}" ?

2014-08-11 Thread Raul Vieira
I don't think you mean to have $routeParams.itemId wrapped in single quotes. I'm pretty sure that property doesn't exist in the response. Assign the value to the scope's property. Raul Sent from my iPhone > On Aug 11, 2014, at 3:56 PM, Steve Husting wrote: > &g

Re: [AngularJS] Re: What's the correct syntax to display alt="{{}}" ?

2014-08-08 Thread Raul Vieira
It should be straight forward: Are you sure item is on the scope? Also, you're example looks busted: title=" Photo " + {{item.shortname}} should be title="Photo {{item.shortname}}" Raul On Aug 8, 2014, at 12:29 PM, Steve Husting wrote: > Since this is goin

Re: [AngularJS] Re: Map AJAX response to array of entities

2014-08-08 Thread Raul Vieira
Have you looked at ngresource? That might be the way to go. Sent from my iPhone > On Aug 8, 2014, at 4:41 PM, Francisc wrote: > > *bump* > -- > You received this message because you are subscribed to the Google Groups > "AngularJS" group. > To unsubscribe from this group and stop receiving e

Re: [AngularJS] Re: Pure SVG Not Shown with AngularJS

2014-08-08 Thread Raul Vieira
Hi Kacha You can bind using the ngBind directive or the {{expression}}. In either case ng will add the ng-binding CSS class to the html. Raul Sent from my iPhone > On Aug 8, 2014, at 6:32 AM, "'kacha haan' via AngularJS" > wrote: > > Thanks a lot for yo

Re: [AngularJS] Advantage vs disadvantage of wrapping module or controller with anonymous function

2014-06-06 Thread Raul Vieira
The latter has leaks a variable into the global scope. Generally, this is not a good practice. Raul On Jun 6, 2014, at 2:56 AM, Sander Elias wrote: > Hi aSet..., > > hmmm, an anonymous question on anonymous function, go figure... > > Ok, it is always best practice

Re: [AngularJS] How to Read an Object from Array by Index?

2014-05-31 Thread Raul Vieira
It's a pojo so you can just use array notation: $scope.items[0] -r -v > On May 31, 2014, at 6:10 AM, "'kacha haan' via AngularJS" > wrote: > > Howdy ! > > Does anyone know how one can simply read an object from an array. > > Say one has a list like $scope.items and want read the object at a

Re: [AngularJS] Re: Routing for a multi language app (/en /fr /ge etc)

2014-05-27 Thread Raul Vieira
ngRoute allows you to specify path params as Daphne described minus the abstract state business. To get at the params you would use $routeParams. Sent from my iPad > On May 26, 2014, at 11:53 PM, Daphne Maddox wrote: > > I don't know ngRoute so I can't help you with that. > > In ui-router yo

Re: [AngularJS] Should I assign my Angular Modules to a variable?

2014-05-23 Thread Raul Vieira
In the first case you're creating a global variable. However, you can address wrapping it in a seaf. The issue with the latter is changing 'app' to 'my-app' would have to be done through out the file. I tend to use the first approach. Raul On May 23, 2014, at

[AngularJS] Angularjs error with IE 11 on make a link

2014-05-23 Thread raul . suarez
Hi there, here is my problem, I'm working on web that all the views is managed by angularjs and the data is by rest service made in Symfony2. My problem it's that in IE 11 I found a break when I click on a link from a template. The link is static, like: *where i go, *obviusly I use angular-rou

Re: [AngularJS] Efficient LocalStorage

2014-05-13 Thread Raul Vieira
How about using the unload event? Raul Sent from my iPad > On May 13, 2014, at 6:59 AM, Toni Vartiainen wrote: > > Hello, > > I have an somewhat large JSON-object stringified in a LocalStorage. At the > moment every time I need to alter this JSON-object in my app I fir

Re: [AngularJS] A weird Angular/ IE problem?

2014-04-30 Thread Raul Vieira
This is indeed a caching problem. You can bust the cache by adding a random number to the URI's query string. Someone has already done that for you: https://github.com/bertramdev/angular-cachebuster Raul On Apr 30, 2014, at 6:49 AM, cutey Love wrote: > Must be some kind of cac

Re: [AngularJS] Re: Render different layout views

2014-04-25 Thread Raul Vieira
You'll need to handle this on the server. This part of your site won't be part of the spa. Sent from my iPhone > On Apr 25, 2014, at 4:54 PM, Joberto Diniz > wrote: > > I don't want Login.html to be a partial view rendered in the ng-view > directive. I want Login.html to be a "full" view, w

Re: [AngularJS] EXport NG-Table to Excel

2014-04-23 Thread Raul Vieira
That sounds like a server side responsibility. > On Apr 23, 2014, at 7:47 AM, David Billa > wrote: > > hi > > is it possible to export ng-table to Excel File? > > -- > You received this message because you are subscribed to the Google Groups > "AngularJS" group. > To unsubscribe from this g

Re: [AngularJS] Re: view controller $scope.$on "watch" function not working...

2014-04-20 Thread Raul Vieira
When does the auth happen relative to the client controller being constructed? On Apr 20, 2014, at 9:24 PM, Billy Figueroa wrote: > Ok so this issue has not been resolved. I am trying to avoid putting the > logic in my main controller. I did notice this has to be one of the "time" > issues you

[AngularJS] $broadcast or 2-way data binding

2014-04-20 Thread Raul Vieira
and expressions available on the portlets' parent scope. My understanding of the $rootScope's $broadcast method is to signal global changes in app state. I'm wondering if it's a good idea to use it in the scenario's I've described above. What are the advantages and d

Re: [AngularJS] scrolling many items in small box

2014-04-17 Thread Raul Vieira
Hi Neil How about iterating over your collection in an unordered list that has a max-height and overflow: auto? Raul On Apr 17, 2014, at 5:48 PM, Neil Camara wrote: > Hi folks, > > What the easiest way to implement a scrollable items from retrieved from a > json? Please see at

Re: [AngularJS] looking for a lint tool for angular

2014-04-08 Thread Raul Vieira
Thanks David. This looks really useful. Raul On Apr 8, 2014, at 12:55 PM, David Spies wrote: > Hi Raul, > You may already be aware of it, but there is a grunt plugin called ngMin > written by Brian Ford that will modify declarations from > angular.module('whatever

Re: [AngularJS] looking for a lint tool for angular

2014-04-08 Thread Raul Vieira
Mark, how do you check for things like not using min safe dependancy injection? i.e., fail the build when it's not being used. Raul On Apr 8, 2014, at 10:34 AM, Mark Volkmann wrote: > I recommend using both jshint and eslint. Both can be run from Grunt. The > reason I recommend

Re: [AngularJS] Vertical Text in Ngtable header

2014-04-07 Thread Raul Vieira
have you tried transform: rotate()? On Apr 7, 2014, at 8:25 AM, ramasubramaniyan jeyaraman wrote: > i'm having a table -> ng table with ng-repaet values > > i want to display the Header text of the table from the 3rd Column > vertically. > > whether it is possible to accomplish this in css

Re: [AngularJS] Scrollable table

2014-04-07 Thread Raul Vieira
Based on your requirements it seems like all you need is css. ... you can also have a look at nggrid. Raul On Apr 7, 2014, at 6:32 AM, Blasphemyr wrote: > Hi, > > I am generating a table from JSON-Data and I want to have that table a > ce

Re: [AngularJS] Is Angular JS secure?

2014-03-29 Thread Raul Vieira
source included in the app's distribution. Raul > On Mar 29, 2014, at 5:52 PM, Alec Taylor wrote: > > You could always minify it as a way of obscuring your code. > > "Hacking the business logic" though; isn't so bad. Who cares if people know > the r

Re: [AngularJS] Re: Test element width

2014-03-27 Thread Raul Vieira
Thanks John, I'll give that a try. Raul On Mar 27, 2014, at 8:28 AM, John Walker wrote: > Try appending the element to the body. When i did a `dump` of a directives > width without appending it i got 0px, after i got a width. Hopefully that > will work for you, my test is i

[AngularJS] Test element width

2014-03-26 Thread Raul Vieira
is: ' + parentWidth); bar.css('width', (((width += delta) / parentWidth) * 100) + '%'); }; Below is the HTML: Decrease 50% Complete

Re: [AngularJS] Refresh all instances of the app on $emit

2014-03-24 Thread Raul Vieira
Although tomcat may present consistent state based on data held in say the http session these are two instances of your spa. Have you thought of using post message? Raul > On Mar 24, 2014, at 5:15 PM, Sriram Rajagopal > wrote: > > I've an angularJS app. I've a p

Re: [AngularJS] optionally attributes for directives

2014-03-08 Thread Raul Vieira
I don't remember seeing that with scopes, though something similar exists when requiring directive controllers. Raul > On Mar 8, 2014, at 9:06 AM, Mark Volkmann wrote: > > Not sure where I saw this, but I thought attributes for custom directive > could be made optiona

Re: [AngularJS] Re: Global variables

2014-02-13 Thread Raul Vieira
use case described. Did I misunderstand the request? Raul Sent from my iPhone > On Feb 13, 2014, at 6:48 PM, Martin Alix wrote: > > Angular does not have a concept of login, that is something you have to > implement yourself... > > .value('config',{}) will be se

Re: [AngularJS] Re: Global variables

2014-02-13 Thread Raul Vieira
My understanding was that the config block runs during app bootstrapping. I read the requirement to indicate on login. If login is part of the same app then how will this work? Sent from my iPhone > On Feb 13, 2014, at 5:24 PM, Jeff Hubbard wrote: > > This is what I would recommend as well.

Re: [AngularJS] Global variables

2014-02-13 Thread Raul Vieira
To have variables visible throughout your ng application I would consider adding them to the root scope. If these vars need to visible outside of ng then you'll need to add them to the window (hopefully in a namespace you've created). Raul Sent from my iPad > On Feb 13, 201

Re: [AngularJS] Re: Displaying an Error Pop up

2014-02-11 Thread Raul Vieira
Use an alert. No css required and it will be centred. Raul Sent from my iPad > On Feb 11, 2014, at 1:56 AM, Sander Elias wrote: > > Varun, > > As I said before, use an image, or an SVG. That are the alternatives you have > if you recline the use of CSS. > > Rega