Hi,
I'm new to angular, and I'm looking for a way to integrate it with kendoui.
I'm using the angular-kendo.js which works nicely for simple cases, but I
would like more advanced templating (e.g. use angular directives).
Here's my piece of code
http://plnkr.co/edit/xvdxaIpF2EtSQ7EPH87r
In this
I know I answered my own question.
But see this like a bug-report.
=D
--
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
Hi all I have an issue with routes.
on my page I have an initial visable list with links.
when I click on a link two need to happen:
1. another list needs to be updated (with a different controller) this
happens by using a listener to a broadcasted event.
2. an ng-view gets updated by
Hi Jake,
Hmm, that's not really where events are intended for. What is it you are
trying to accomplish?
There are many way's to resolve this issue. Given your need, there will
sure be one the fit's nicely.
Can you put up a plunk of what you are trying to do, or what you have now.
I will take a
Hi Matt,
If you add attributes to an node, you need to recompile that node.
Have a look at my superTable sample http://goo.gl/UDw0cM plunk, it does
something similar, that you can adapt to your need.
The directive seStRepeatInto uses this construct.
Regards
Sander
--
You received this
you can have dynamic field name. but you must create an directive with
controller, that sets name attribute.
you can read more about it here.
https://groups.google.com/forum/#!topic/angular/YFVb5d54dY0
On Thursday, November 1, 2012 9:08:25 PM UTC+1, jason@gmail.com wrote:
i have a form
you can have dynamic field name. but you must create a directive with
controller, that sets name attribute.
you can read more about it here:
https://groups.google.com/forum/#!topic/angular/YFVb5d54dY0
On Thursday, August 2, 2012 12:27:19 AM UTC+2, Flavio Silva wrote:
Hi,
I'm working with
Hi Michael,
You can't handle status 302 with javascript! Even angularJS can change
anything about that.
However, I guess there is a moment in your app that sends off the user to
the authentication server? Before sending them of, store the current user
status in localStorage. When the redirect
Hi Sander!
Only the proxy knows whether the user is still logged in or not. So as soon
as he tries to do a REST call out of the application, and for some reason
he is not logged in anymore (maybe he logged out in another browser tab),
the proxy would return a 302 redirect... This is where i'm
Hi Michael,
That makes it only a bit more work. On every ajax call, save your state,
when the 302 is resolved, reload the state, and resume with your job. It's
a bit of a PITA, but it can be done.
Regards
Sander
--
You received this message because you are subscribed to the Google Groups
Hi Sander!
But how can I resolve a 302? All I get back after the AJAX call is a
response with status code 0...
Here's again what happens exactly:
1. User logs in to our app via SSO proxy.
2. User logs out in another application via SSO proxy, but our app is still
open in another browser window.
What I could do is implement an httpInterceptor which will handle response
errors with status code 0. As soon as I get such a response I could trigger
a $window.location.reload. This would again trigger the proxy and he would
redirect us to the login page.
On Wed, Jan 29, 2014 at 3:22 PM,
I later noticed this in
CONTRIBUTING.mdhttps://github.com/angular/angular.js/blob/master/CONTRIBUTING.md
:
Type
Must be one of the following:
- *feat*: A new feature
- *fix*: A bug fix
- *docs*: Documentation only changes
- *style*: Changes that do not affect the meaning of the code
I did it like this:
In the css:
[placeholder-text]:not(:focus):empty:before {
content: attr(placeholder-text);
float: left;
margin-left: 2px;
color: rgba(200,200,200,1);
}
the element looks like this:
div contenteditable=true placeholder-text=Description/div
it works fine!
I'm in need of some pointers in my landingPage-builder project. (i'm
currently stuck!).
The main issue is as follows: Each element in the template (like the h1 and
the paragraph) has attached a directive. What I need to get the directive
to do is: create a template of HTML with some other
fwiw I went ahead and filed issue
#6041https://github.com/angular/angular.js/issues/6041
.
On Monday, January 27, 2014 10:01:47 AM UTC-8, Nikita Tovstoles wrote:
Would like a 2nd pair of eyes from the community before filing a bug:
please see demo
Several sources suggest that using services as the optimal way of sharing
data between several directives and or controllers. what if a use case
calls for data to be shared only with specific instances of, say
directives. In Spring (Java) for example, one would employ a bean with
singleton
bump. could someone please have a quick look and lmk if this is a bug or I
need to go back and re-read the docs. don't want to pollute the bug tracker
if latter. thank you,
-nikita
On Saturday, January 25, 2014 12:17:32 PM UTC-8, Nikita Tovstoles wrote:
please see demo
Yes, i'd like to know that too.
In my case it's especially frustrating to use resolve resources with
authentication on routes. I don't want to redirect to other pages (e. g.
error pages) after $routeChangeError event.
Am Freitag, 15. März 2013 11:07:33 UTC+1 schrieb faqin...@gmail.com:
Hi I'm using the controller as syntax as it is pretty straight forward
using classes in coffeescript. However, so far I could not figure out how
to get to $scope to construct $scope.$emit and the respective $scope.$on
for event emitters and event listeners.
I'm creating my controllers like
Hey guys,
I've been searching for a tool that does this since forever. I posted on
stack overflow this question as well if you want to answer there
http://stackoverflow.com/questions/21439243/compiled-angularjs-html-validation-tool
.
Basically I'm looking for a tool in visual studios that
Hi,
I have this code inside my directive list-directive:
return function(scope){
var html_markup = 'ulli ng-repeat=item in itemsng-include
src=item.contentUrl/ng-include/li/ul';
elm.html($compile(html_markup)(scope);
}
in my controller I have:
$scope.items = [
{contentUrl: myDomain.com},
Wondering what people are doing to make e2e writing easier/faster/... ?
What is your workflow to create e2e tests with Protractor?
Was looking at Selenium IDE where you can record a series of actions.
Seemed promising for really easy e2e testing.
1. Load your app in Firefox with Selenium
Sander
Thanks for the reply - I'm still working my way through the tuts tutorials.
Changed the controller but still struggling as to my html page - what goes
next to the ng-click
Regards
html ng-app=myApp ng-controller=MyCtrl3
head
script src=
filters are run a LOT. Every time the scope changes, it fires digest cycles
which calls the appropriate filters, often multiple times. Filters should
always return the same output for a given input. In your case firing off
http requests is causing all kinds of changes. Putting anything beyond
I am clicking on a ng-href link that is created using an ng-repeat
it has its route defined as /api/:apiId.
when I click on this link I do get the routeParam of apiId back.
how ever every other link clicked not in the first controller cannot access
the routeparameters
this is even so when I
I am also experiencing this problem. My angular verison is 1.2.9. I have
put my client in airplane mode and it returns a 404 as a result of a rest
call using $http.
Chuck
On Wednesday, January 29, 2014 7:00:42 AM UTC-6, Geir Gullestad Pettersen
wrote:
I'm using AngularJS for a singlepage
Hope that someone can point me in the right direction, accept that this
may not be the right group for this but...
I have a workflow set-up with source maps in angular with comapss and
sass, so I know that i have the right versions of comapss and sass running.
When I try to get it working
Hi Yonatan,
No, I have no idea. Why the complexity in your directive? Couldn't you use
a normal template directive?
If you put up a plunk or fiddle illustrating your problem, sure one of us
is willing to take a look.
Regards,
Sander Elias
--
You received this message because you are
Hi Nikita,
You are right, according to the docs, at least your use of foo should throw
an exception. The case of bar might not.
Regards
Sander
--
You received this message because you are subscribed to the Google Groups
AngularJS group.
To unsubscribe from this group and stop receiving
On Wednesday, January 29, 2014 3:28:50 PM UTC+1, Michael Hunziker wrote:
What I could do is implement an httpInterceptor which will handle response
errors with status code 0. As soon as I get such a response I could trigger
a $window.location.reload. This would again trigger the proxy and
Hi Michael,
The response object in AngularJS looks like this:
Object {data: , status: 0, headers: function, config: Object}
What I would expect is status code 302 and even the redirect location, so
that I could handle the redirect to the login-page in Angular myself...
Well, I was assuming
Disregard - of course, I looked at it closer after posting and I realized I
was setting it wrong at the individual $http level. It actually does
override the defaults.
On Wednesday, January 29, 2014 9:58:12 PM UTC-5, Ed wrote:
I have an application that involves making XHR requests to
When I click submit on my Add Me on my users page, the form validation
errors pop up.
Shouldn't they reset and wait for the input to become dirty again?
http://plnkr.co/edit/P9DwdaFTWGDiYnjiddaj
This also occurs on the Flow Length Time input on the bets page...
Am I missing something to reset
Hi,
After you changed the content of your form in your controller you should
set it to it pristine state,
add this to your controller: $scope.user_form.$setPristine()
Regards
Sander
--
You received this message because you are subscribed to the Google Groups
AngularJS group.
To unsubscribe
http://onehungrymind.com/windows-8-and-angularjs/
a good reference to begin with !
On Sunday, February 3, 2013 5:09:15 PM UTC+5:30, DanX wrote:
Hello
I am looking for a sample on how to use angularjs in windows phone 8 HTML
5 app in visual studio. when i make websites i can make it work
Thank you Sanders. Didn't know about that handy method...
--
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
There's also $scope.user_form.$setDirty()
if you need
the other way
around.
2014-01-30 telagraphic telagrap...@gmail.com
Thank you Sanders. Didn't know about that handy method...
--
You received this message because you are subscribed to the Google Groups
AngularJS group.
To
38 matches
Mail list logo