Pushpendra,
Ah, so you have now problems maintaining your application that is build
using cut and paste, and now want a cut and past solution for it?
Sorry, that's not the way it works.
You have to learn the framework, and do the hard work yourself, or hire one
of us, and let us do the hard
Hi,
I am planning to go through with following approach. Suggest me whether its
correct or not?
1. Have the superset of html of page for all entities like create.html.
2. Get metadata from database or javacsript factories.
3. Use switch case, if-else and show/hide in html page for conditional
Archana,
You know I do this in my (very sparse) spare time don't you? If you need
solutions ASAP, I'm available for rent ;)
I cleaned up the mess in the whole project,
added the needed dependencies to the plunk.
Had to copy and past the ui-date module, because it would not work from a
cdn.
It
Thanks Pan. I am going for this approach.
Pushpendra
On Thursday, 9 January 2014 14:23:22 UTC+5:30, Pan Stav wrote:
Sounds like angular. Do update on your progress.
שתהיה טיסה נעימה,
פאן - סתו.
On Thu, Jan 9, 2014 at 10:24 AM, Pushpendra Kumar
pushpe...@gmail.comjavascript:
wrote:
Thank you very much sander!! :)
On Thursday, January 9, 2014 2:23:40 PM UTC+5:30, Sander Elias wrote:
Archana,
You know I do this in my (very sparse) spare time don't you? If you need
solutions ASAP, I'm available for rent ;)
I cleaned up the mess in the whole project,
added the needed
Cool, thanks both of you! Both approaches actually work as I intended.
@Daniel: wow, AWESOME reply! Thanks for bringing me to the next directive
grokking level : )
Fwiw, I'll rename the resume func to something more verbose like
resumeCompilation as it not only applies to the ngModel
Is there any way to add scrolling in specific partial ? I dont want to
scroll whole page . Just enable scrolling in specific partial
--
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,
Hm, next stumbling block: the static 'name' value from above.
I'd like to get that value from an expression, evaluated against the scope
of the element.
Which forces me to put the attr.$set call into the link function. That,
again, will cause ngModel to not pick up the binding.
Again, the
On Thu, Jan 9, 2014 at 3:16 PM, Kijana Woodard kijana.wood...@gmail.com wrote:
This thread is a bit disturbing
Yes, it definitively is...
@Sander, you are good man, just don't get burned out on such questions
Cheers,
Pawel
--
AngularJS book:
Declaring private/internal functions and variables like you did is
perfectly legitimate use of Javascript. You can even declare functions like
this:
function controller( $scope ){
$scope.var;
var myvar = 'Hello world';
function myfunction(){
alert('Hello world');
}
}
--
You received
Small mistake, you are pausing the compilation to manipulate the template.
the template is already compiled by the time your in your link function
see:http://jsbin.com/EwUkeTUG/2/edi http://jsbin.com/EwUkeTUG/2/edit
Regards
Sander
--
You received this message because you are subscribed to the
@Pawel Thanks.
It happens sometimes ;)
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,
Hi All,
Ok, maybe I’m weird, but doesn’t anybody see the obvious bug in here ;)
function controller( $scope ){
$scope.var;
var myvar = 'Hello world';
function myfunction(){
alert(myvar); // - I assume this is the needed code for this
brilliant piece!!
}
}
On a
Din’t I answer this already a short time ago?
button onclick='window.location=http://www.google.nl'Go google/button
Is that what you need?
regards
Sander
--
You received this message because you are subscribed to the Google Groups
AngularJS group.
To unsubscribe from this group and stop
Does angular need to be involved for that?
a href, maybe target...
On Jan 9, 2014 8:52 AM, philipsiv...@gmail.com wrote:
Hi
Newbie ...
Is there a simple example where when a button is clicked it then opens a
web page - eg Google.
Regards
--
You received this message because you are
The actual resume of compile is when you call $compile, not when you link
the result. You have to make sure you don’t resume until you added the
attribute you want in the link function.
.directive('foo', function($compile) {
return {
restrict: 'A',
priority: ,
terminal:
Do you mean pagination in AngularJS? Normal scrolling can be implemented by
some basic CSS properties (Check
herehttp://www.w3schools.com/cssref/css3_pr_overflow-y.asp
).
Please be more specific about what you are trying to implement and add some
plnkr/JSFiddle code.
/Aadithya
On Thu, Jan 9,
Hi, Thanks very much for your help.
A glance at the console pointed out my mistake. I was using the wrong
variable for the partial url.
I'm brand new to Javascript as well as AngularJS, I think that sort of
situation can sometimes lead you to thinking that it's your lack of
knowledge and not
maybe it's the lack of a good example, maybe a case of dismissing common
webpage layouts, but the inability of using bootstrap navbar is a
showstopper for using angular - we can use angular without bootstrap but
for several sites want to use bootstrap.
specifying a route of a href=#/about
I'm new to this too (it's been a year since I decided to deep dive the JS)
And I recommend you leave that console open at all times. I don't know what
I'd do without chrome DevTools.
Look for Batarang for chrome, it's a small extension that add a little
Angular Properties Tab inside the
Did you go through their
wikihttps://github.com/angular-ui/ui-router/wiki/Multiple-Named-Views
?
On Thursday, January 9, 2014 8:13:17 PM UTC+2, Douglas Lira wrote:
How to use multiple views with ui-router?
--
Atenciosamente,
Douglas Lira
No que diz respeito ao empenho, ao compromisso,
lol. email obscured for spam defense. nice one.
On Thu, Jan 9, 2014 at 5:54 PM, XXX rdprasad.r...@gmail.com wrote:
Dear JS Developer, one of our client in Philadelphia, PA is looking for a
AngularJS developer for either a contract or full-time opportunity.
If anyone is interested, please
Hello,
I'm beginner of Angularjs. Normally by jquery, to bind an event for the
HTML element, I do like this:
$( #foo ).bind( click, *function*() {
alert( User clicked on 'foo.' );
});
I'm using Angular in my project, so how to bind the event to the element
like jquery in angular ?
http://docs.angularjs.org/guide/concepts
On Thu, Jan 9, 2014 at 6:00 PM, biloki vuducbinhs...@gmail.com wrote:
Hello,
I'm beginner of Angularjs. Normally by jquery, to bind an event for the
HTML element, I do like this:
$( #foo ).bind( click, *function*() {
alert( User clicked on 'foo.'
What do you mean ? I know: to add event click on an element, I add directly
event on element, for ex:
div id=div1 ng-click=clickFunction()/div
But it's not dynamic, I find the dynamic way like jquery like:
$(#div1).bind('click',function(){})
$(.button).bind('click',function(){})
So is there
Yes, I want to do it on the class or id of div dynamically. When we works
on projects javascript. We have a designer who do the file html and
developer writes javascript. I don't want the designer adds direct
ng-click, ng-change directly on the element html, developer will define in
file js
Why use angular like jquery? Why not use angular like angularor use
jquery.
https://groups.google.com/forum/#!msg/angular/kqZDVSUlkd0/sge6KsaaKQAJ
On Thu, Jan 9, 2014 at 6:17 PM, biloki vuducbinhs...@gmail.com wrote:
What do you mean ? I know: to add event click on an element, I add
So just simple question: in angular, how do you bind event click on class
with the name is classButton ?
On Friday, January 10, 2014 1:53:37 AM UTC+1, Kijana Woodard wrote:
Why use angular like jquery? Why not use angular like angularor use
jquery.
Wouldn't you do that in the directive?
On Jan 9, 2014 7:14 PM, Brian Tan bharvey...@gmail.com wrote:
I'd like to know the answer to this as well.
I'm working on a charting application using highcharts. I managed to find
a directive for highcharts that I like, but I need to bind a function to
I'm new to angular as well. I suppose you are trying to bridge what you
know in order to learn something new.
My approach has been to dump what I know and learn the idioms of angular
first. Ymmv.
So I would put ng-click on the button until I understood what angular has
to offer.
I would use scm
For example you have 50 button that have class classButton, what will you
do to listen click on them ?
On Friday, January 10, 2014 2:27:50 AM UTC+1, biloki wrote:
classButton is just an example that I name. You can't add ng-click for all
buttons, it's too long. It has to have a solution
On a single view? Then probably a directive, but I'll defer to someone with
more angular experience.
On Jan 9, 2014 7:29 PM, biloki vuducbinhs...@gmail.com wrote:
For example you have 50 button that have class classButton, what will you
do to listen click on them ?
On Friday, January 10, 2014
the angular way, would be to use attribute ng-href in a tag:
a ng-href=http://www.google.com;google link/a this should not
interfere with routing, and should just go to google page.
But this is kind of weird question for angular group, take a look at docs
too:
50 buttons on one page... I assume you plan to display a table with 50 rows. In
that case you can use ng-click with ng-repeat. You can find many examples if
you google it.
--
You received this message because you are subscribed to the Google Groups
AngularJS group.
To unsubscribe from this
Can we have two ngapp and two controller in same page. In my code we have
two ngapp and two controller but first one is working fine while second one
is not working fine.
div ng-app=namesList ng-controller=NamesController
h1List of Names/h1
div ng-repeat=_name in names
p{{_name.username}}/p
Please see the answers to this question on Stack
Overflowhttp://stackoverflow.com/questions/16342603/how-to-run-two-separate-angular-js-apps-in-the-same-page
.
--
You received this message because you are subscribed to the Google Groups
AngularJS group.
To unsubscribe from this group and stop
36 matches
Mail list logo