Please see: https://github.com/kevinSuttle/html-meta-tags, thanks for the idea @dandv!
Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/
<code_scheme name="Airbnb"> | |
<option name="RIGHT_MARGIN" value="100" /> | |
<option name="HTML_ATTRIBUTE_WRAP" value="4" /> | |
<option name="HTML_ELEMENTS_TO_INSERT_NEW_LINE_BEFORE" value="" /> | |
<option name="HTML_ENFORCE_QUOTES" value="true" /> | |
<DBN-PSQL> | |
<case-options enabled="false"> | |
<option name="KEYWORD_CASE" value="lower" /> | |
<option name="FUNCTION_CASE" value="lower" /> | |
<option name="PARAMETER_CASE" value="lower" /> |
angular.module('myMdl', []).config(['$httpProvider', function($httpProvider) { | |
$httpProvider.responseInterceptors.push([ | |
'$q', '$templateCache', 'activeProfile', | |
function($q, $templateCache, activeProfile) { | |
// Keep track which HTML templates have already been modified. | |
var modifiedTemplates = {}; | |
// Tests if there are any keep/omit attributes. | |
var HAS_FLAGS_EXP = /data-(keep|omit)/; |
(function () { | |
'use strict'; | |
var clientKey = "XXXXXXXXXXXXXX"; | |
var clientSecret = "XXXXXXXXXXXX"; | |
var oauthToken; | |
var oauthSecret; | |
var userId; | |
var loginUrl; | |
var applicationName; |
public class ImportedFilePathResolver : IPathResolver | |
{ | |
private string currentFileDirectory; | |
private string currentFilePath; | |
/// <summary> | |
/// Initializes a new instance of the <see cref="ImportedFilePathResolver"/> class. | |
/// </summary> | |
/// <param name="currentFilePath">The path to the currently processed file.</param> | |
public ImportedFilePathResolver(string currentFilePath) |
Components are not "helper" methods, they are the best change in Angular 1.x since I've been using it.
What is the role of
.component()
?
template
or templateUrl
Everyone who's reading this, please leave your opinion/ideas/proposals as a comment for a better world!
Most of you guys read Josh' proposals to make components more reusable, I think. Now, reading through this proposals definitely gives a feeling that this is the right way. Anyways, If you haven't read it yet, you should.
So Josh shows us, how angular apps can be structured in a better and more reusable way. Reusability is a very important thing when it comes to software development. Actually the whole angularjs library follows a philosophy of reusability. Which is why you able to make things like:
Following the AngularJS PARIS meetup (25/2 à 19h à Paris with @sampaccoud @dzen @_kemar @tchack13 @vinz et @revolunet)
Here's our best AngularJS ressources : twitter, github, articles & blogs. Please comment and add your good stuff !
var demoApp = angular.module('demoApp', ['ngResource'], function($locationProvider) { | |
$locationProvider.hashPrefix(''); | |
}); | |
function MainCtrl($scope, Serv) { | |
$scope.selectedItem = { | |
value: 0, | |
label: '' | |
}; | |
$scope.Wrapper = Serv; |