[AngularJS] AngularJS $route vs kendo.Router

2015-09-22 Thread Charlie Marshall
Hi all, First time posting here and was looking for some advice between the two mentioned frameworks... I am working for a company that uses Kendo UI for the whole site for an SPA View. Recently we have started using Umbraco which uses AngularJS. We are trying to decide whether to keep using

[AngularJS] Re: Protractor and Browserstack

2014-08-26 Thread Charlie
Success! Ashwin Gonsalves over at BrowserStack got me headed in the right direction. I needed to set baseURL and ensure my server was up and running before calling the browserStackTunnel task. my conf file looks like: // An example configuration file. var bsConfig = { 'build':

Re: [AngularJS] Protractor not finding Angular

2014-08-19 Thread Charlie
Try this conf: // An example configuration file. exports.config = { // Capabilities to be passed to the webdriver instance. multiCapabilities: [ { 'browserName': 'phantomjs',

[AngularJS] Protractor and Browserstack

2014-08-19 Thread Charlie
Has anyone come up with a relatively painless way to run Protractor on Browserstack? It seems it possible according to https://twitter.com/tatejohnson/status/401984671195471872 Using the configuration below, I'm able to run the tests but browserstack never connects to my local server, instead

[AngularJS] Re: Unit testing a conditionally rendered isolate scope directive

2014-05-27 Thread Charlie
See Igor's response below: Hi Charles, here is a working test: http://jsfiddle.net/mWrq9/2/ The issue is that there too much stuff happening on the root node of your template. You are compiling the element directive and also replaces itself with a template and that template contain ngIf,

[AngularJS] Re: Unit testing a conditionally rendered isolate scope directive

2014-05-24 Thread Charlie
I'm hitting the wall on this one too. On Thursday, April 17, 2014 4:03:18 PM UTC-4, David Gee wrote: I've been writing unit tests for angular controllers and services for a while now, but been putting off the daunting task of testing directives. I currently have an isolated scope directive,

[AngularJS] Re: Using FormData with $http

2014-05-18 Thread Charlie Martin
I don't think I would have figured out to set the Content-type to undefined instead of false in a million years. Thank you! On Monday, August 6, 2012 7:38:02 AM UTC-4, David Krutky wrote: Anyone knows how to use FormData object with $http service? Because this doesn't seem to work: var

[AngularJS] Re: Pass a variable from a http call to another

2014-04-28 Thread Charlie Camus
Thanks to all, I will follow your advices and try to learn some more about the 'promises'. Thanks Le vendredi 25 avril 2014 17:12:03 UTC+2, Charlie Camus a écrit : Hi all, I'm a beginner with Angular JS, and I think I missed something. Here is my code : $scope.listAccueil=function

[AngularJS] Pass a variable from a http call to another

2014-04-25 Thread Charlie Camus
Hi all, I'm a beginner with Angular JS, and I think I missed something. Here is my code : $scope.listAccueil=function(){ $http.get('/findParams') .success(function(data){ $scope.params=data; }) console.log($scope.params);