Example of using AngularJS to render text into SVG shapes
Makes use of directive controllers to customize behavior per shape.
module.exports = function (grunt) { | |
var fs = require('fs'); | |
grunt.registerTask('sasswatch', 'Watch Sass with awareness of dependency graph', function () { | |
var options = this.options({ | |
sassPath: 'sass', | |
logFile: null, | |
style: 'nested', |
/* globals d3, angular */ | |
angular.module('myCustomShapes', ['myMod']) | |
.directive('myTriangle', function () { | |
var line = d3.svg.line() | |
.x(function(d) { return d.x; }) | |
.y(function(d) { return d.y; }); | |
return { | |
restrict: 'E', |
Example of using AngularJS to render text into SVG shapes
Makes use of directive controllers to customize behavior per shape.
Read about this and more on the ThousandEyes blog. http://blog.thousandeyes.com/tips-for-a-front-end-test-friendly-web-application-targeting/
Read about this and more on the ThousandEyes blog. http://blog.thousandeyes.com/tips-for-a-front-end-test-friendly-web-application-targeting/
Read about this and more on the ThousandEyes blog. http://blog.thousandeyes.com/tips-for-a-front-end-test-friendly-web-application-targeting/