Skip to content

Instantly share code, notes, and snippets.


Copied from

Basic HTML Meta Tags

<meta charset='UTF-8'>
<meta name='keywords' content='your, tags'>
<meta name='description' content='150 words'>
<meta name='subject' content="your website's subject">
<meta name='copyright' content='company name'>
apokusin / country_code_select.js
Last active Aug 18, 2017 — forked from basiam/
An AngularJS directive for selecting a country code from a select dropdown
View country_code_select.js
'use strict';
.directive('countryCodeSelect', ['$parse', function($parse) {
return {
restrict: 'A',
template: '<select><option ng-repeat="(key, value) in countries" value="{{ value }}">{{ key }} ({{ value }})</option></select>',
replace: true,
link: function(scope, elem, attrs) {
var assignCountry;
You can’t perform that action at this time.