First, install dnsmasq using brew:
$ brew update
$ brew install dnsmasqThen create your configuration
| sciApp.controller('AngularedCollectionController', ['$scope', '$compile', function ($scope, $compile) { | |
| $scope.index = 1; | |
| $scope.init = function (collectionId) { | |
| var indexes = []; | |
| $('#' + collectionId).find('input[type=hidden]').each(function () { | |
| var attrName = $(this).attr('name'); | |
| var indexFinder = new RegExp('\\]\\[(\\d+)\\]\\['); | 
To setup your computer to work with *.test domains, e.g. project.test, awesome.test and so on, without having to add to your hosts file each time.