){ //be aware of other
event names from other browsers vendor-prefixed
console.log(''got a css transition event, e)
})
}
})
On Tuesday, February 25, 2014 12:18:28 AM UTC-7, Luke Kende wrote:
You can create a directive to do this and add it to the body tag if you
want just
correct?
On Sat, Feb 22, 2014 at 2:27 AM, Luke Kende luke.ke...@gmail.com wrote:
If I understand you correctly, I would do this with ng-repeat, since as
you add or remove data to the array, it would create new panes (or items,
or whatever).
pane ng-repeat=pane in panes style=float:left
It's all totally possible. However, you are stepping into a different
paradigm with a Single Page App (SPA), especially with angular, and
especially coming from .NET.
Instead of each page requested having it's final html delivered to the
browser by the server based on server-side logic, it's
You asked about developing a web application. When we talk about web
apps these days we tend to mean an SPA.
Using angular just for javascript functionality and delivering each page
from the server can work, but I believe defeats the purpose of it's design.
I agree with Mario in terms of
You can turn your two $http requests to resolve in one promise:
http://denisonluz.com/blog/index.php/2013/10/06/angularjs-returning-multiple-promises-at-once-with-q-all/
You need the digest cycle on the value of select changing to fire your
$watch that fires the $http calls, so I can only see
If you aren't stuck on using Google Application Engine, I'd recommend
NodeJs as you can quickly get started and run it as a local web server for
building your app. NodeJs is javascript webserver and there are seeds to
get started with the two
together:
http://angular-google-maps.org/
On Sunday, February 23, 2014 10:42:36 PM UTC-7, Archana wrote:
Hi. Can anyone suggest me how to include google-map in angular
Thanks
--
You received this message because you are subscribed to the Google Groups
AngularJS group.
To unsubscribe from this group
This is basically a question about making your app responsive. I agree
that CSS @media queries are the way to go instead of separate templates and
javascript. You may have to modify your templates to meet both resolutions
since you only initially developed for one, but overall you will be
I've done this before with slice() but there was a finite number of item
groups and always the same range of 8 items:
div ng-repeat=(index, master) in data.slice(0,7)/div
div ng-repeat=(index, master) in data.slice(8,15)/div
div ng-repeat=(index, master) in data.slice(16,23)/div
div
This example is hard to follow because it skips over key details, like what
is serializing the data, is that C#? But it doesn't matter what the back
end is... I have to assume that getProductDetails on your service makes a
call to the webserver which is returning json, but how is it being
Looks like you are using Twitter's Bootstrap JS instead of Angular's
version? You need angular's version so it works within the scope of
angular, else angular doesn't know about changes made outside of it's scope
and you will have lots of issues like this.
If I understand you correctly, I would do this with ng-repeat, since as you
add or remove data to the array, it would create new panes (or items, or
whatever).
pane ng-repeat=pane in panes style=float:left;
customer=pane.customer/customer
item=item ng-repeat=item in items
If by refreshing it you mean reloading the page, then you'd need to use
cookie or server storage. If you mean when switching views, then you need
a service. Which do you mean?
On Friday, February 21, 2014 2:57:30 PM UTC-7, Luqman Rom wrote:
Hi,
I am learning AngularJs right now by making
Have you tried ng-click?
tr ng-click=goTo(res.id) style=pointer:cursor
td{{res.id}}/td
td{{res.ragioneSociale}}/td
td{{res.indirizzo}}/td
td{{res.codiceFiscale}}/td
td{{res.tipoSocieta}}/td
td{{res.attivita}}/td
/tr
$scope.goTo = function (id){
in the
template.
On Thu, Feb 20, 2014 at 3:38 AM, Diego Fernandez
diego.fernan...@bluebridgeltd.com wrote:
I totally agree with Luke Kende.
On 20 February 2014 05:38, Luke Kende luke.ke...@gmail.com wrote:
I don't think it's bad practice. $scope is setup to be hierarchal and
will inherit any parent
I don't think it's bad practice. $scope is setup to be hierarchal and will
inherit any parent scopes. So even if you provided a controller for the
template route, it would just be a parent controller to the ones specified
within the template.
On Wednesday, February 19, 2014 10:11:08 PM
Awesome! Glad I could help.
On Sat, Feb 15, 2014 at 12:46 AM, Yonatan Kra kra.yona...@gmail.com wrote:
Thanks a lot! You saved a lot of hours of trial and error. My spa works
seemlessly now.
On Feb 12, 2014 4:46 PM, Luke Kende luke.ke...@gmail.com wrote:
I won't claim to be a guru
MyService.MyStatus in the otherPage controller, I get OK
no matter what was its value in the Inbox page.
Is that a glitch in my code? Or is that how it's supposed to be?
Thanks
On Wed, Feb 12, 2014 at 8:53 AM, Luke Kende luke.ke...@gmail.com wrote:
Yes. Use a service. If it's not working for you
the
differences between factory/value/service/provider/constant - that's my
mission on my 3rd week in Angular...)
On Wed, Feb 12, 2014 at 3:55 PM, Luke Kende luke.ke...@gmail.com wrote:
I wrote my example terribly (the service name should obviously be
consistent) but yes, the problem is due
=number
img src={{demo.logo}} /
/div
/div
On Wednesday, February 12, 2014 12:17:22 AM UTC-6, Luke Kende wrote:
I don't have enough information to adequately answer your question, but
my best guess is that you are new to angular?
Are you using routeProvider for your
So... why can't just get it from $routeParams?
If there's something non-angular that you need, you can always access the
window.location object and parse the path your self.
On Tuesday, February 11, 2014 3:54:02 PM UTC-7, Cody Carlson wrote:
Hi,
I need to be able to pass a URL pathName to
A GET request is fairly easy to verify:
1. You can copy and paste the full url directly into the address bar.
2. If you are on Linux or Mac, you can use cURL (or wget) on the command
line and see if it's getting there.
3. Worst case you can use WireShark to inspect network packets.
Sounds to
This question sounds like you are trying to fix the symptoms instead of the
source. A watch doesn't trigger unless something causes it to.
Personally, I gained a performance boost when I rethought and recoded the
way the way I used angular's built-in directives. For example, I had a
ng-class
Yes. Use a service. If it's not working for you then you are coding it
wrong. My guess is not understanding object inheritance and losing a
reference to primitive values
My examples are not full blown, but hopefully the details will help you see
what you need:
function EmailService(){
101 - 124 of 124 matches
Mail list logo