Skip to content

Instantly share code, notes, and snippets.

@kalbarczyk
kalbarczyk / LICENSE
Last active August 29, 2015 14:27 — forked from AKalbarczyk/LICENSE
Arrayzing - The JavaScript array cheatsheet
The MIT License (MIT)
Copyright (c) 2015 Justin Perry
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
@kalbarczyk
kalbarczyk / scope.html
Last active August 29, 2015 14:17
AngularJS - $scope vs. scope
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" data-ng-app="app">
<head>
<meta charset="utf-8">
<title>AngularJS - $scope vs. scope</title>
</head>
<body ng-controller="defaultCtrl">
<h3>$scope vs. scope</h3>
<div test-scope></div>
<div test-scope2></div>
@kalbarczyk
kalbarczyk / system-ocen.html
Created March 18, 2015 00:59
AngularJS - system ocen
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" data-ng-app="app">
<head>
<title>AngularJS - system ocen</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.css" />
</head>
<body>
<div class="container">
<form>
<h3>Oceń wydarzenie</h3>
@kalbarczyk
kalbarczyk / element-bind.html
Created March 18, 2015 00:51
AngularJS - angular.element (jqLite)
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" data-ng-app="app">
<head>
<title>AngularJS - angular.element (jqLite)</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.css" />
</head>
<body>
<div class="container">
<div data-wjs-color-changer="red"><h1>Tło czerwone</h1></div>
<div data-wjs-color-changer="yellow"><h1>Tło żółte</h1></div>
@kalbarczyk
kalbarczyk / zrozumiec-require.html
Created March 18, 2015 00:31
AngularJS - Zrozumieć require
<!doctype html>
<html data-ng-app="app">
<head>
<title>AngularJS - Zrozumieć require</title>
</head>
<body>
<div>
<input type="text" ng-model="text" placeholder="Wpisz text" />
<div wjs-require ng-model="text"></div>
@kalbarczyk
kalbarczyk / zrozumiec-ng-transclude.html
Last active August 29, 2015 14:17
AngularJS - Zrozumieć ng-transclude
<!doctype html>
<html data-ng-app="app">
<head>
<title>AngularJS - Zrozumieć ng-transclude</title>
</head>
<body>
<div>
<wjs-transclude name="AngularJS">Zrozumieć ng-transclude</wjs-transclude>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.js"></script>
@kalbarczyk
kalbarczyk / dyrktywa.html
Created March 17, 2015 23:54
Dyrktywa szyta na miarę!
<!doctype html>
<html data-ng-app="app">
<head>
<title>AngularJS - Dyrktywa szyta na miarę</title>
</head>
<body>
<div>
<div wjs-first></div>
<br />
@kalbarczyk
kalbarczyk / dyrektywy-przykłady-nazw.html
Created March 17, 2015 23:02
Dyrektywy - Przykłady nazw
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" ng-app="app">
<head>
<title>AngularJS - Dyrektywy - Przykłady nazw</title>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.9/angular.js">
</script>
</head>
<body>
<div ng-controller="defaultCtrl">
@kalbarczyk
kalbarczyk / smart-table.html
Created February 6, 2015 12:36
AngularJS - Smart Table & Bootstrap UI example
<!DOCTYPE html>
<html data-ng-app="app">
<head>
<title>AngularJS - Smart Table & Bootstrap UI example</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.css" />
</head>
<body data-ng-controller="defaultCtrl">
<div class="container">
<nav class="navbar navbar-default" role="navigation">
@kalbarczyk
kalbarczyk / mask.html
Last active August 29, 2015 14:11
AngularUI for AngularJS - ui.mask
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" data-ng-app="app">
<head>
<title>Maska</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css" />
</head>
<body data-ng-controller="defaultCtrl">
<div class="col-lg-4">
<div>
<label for="maskBankAccount" class="control-label">Maska numeru konta</label>